This example demonstrates the use of a particle system to simulate the motion of falling snowflakes. This program defines a snowflake class and uses an array to hold the snowflake objects.
No alt text
Snowflakes
Animate snowfall.
Shake Ball Bounce
Animate ball movement based on mobile device motion.
Connected Particles
Draw circles and connecting lines using the mouse.
Flocking
Simulate bird flocking behavior.
Looking for the old p5.js site? Find it here!