How akiaqui/bubble_p5 works
A small p5.js sketch renders an animated bubble made from spring-connected points. The user clicks to start or pause the simulation; while active, the draw loop updates the point positions and renders the bubble with colored points and gradient edges. The README provides no additional capability details, and the available source shows all runtime behavior in sketch.js.
Main entry points: sketch.js p5 Sketch
Components 7
Other components
- User
- p5 Sketch
sketch.js - Bubble Setup
sketch.js - Bubble Physics
sketch.js - Spring Forces
sketch.js - Bubble Renderer
sketch.js - Gradient Lines
sketch.js
Connections 7
- User → p5 Sketch: clicks
sketch.js - p5 Sketch → Bubble Setup: initializes
sketch.js - p5 Sketch → Bubble Physics: updates
sketch.js - p5 Sketch → Bubble Renderer: draws
sketch.js - Bubble Setup → Spring Forces: creates springs
sketch.js - Bubble Physics → Spring Forces: calculates forces
sketch.js - Bubble Renderer → Gradient Lines: draws edges
sketch.js