Examples / p5.js Examples / / Accumulating Snow

Accumulating Snow

example p5.js javascript objects

This sketch uses the p5.Vector class to create an animation of snow that accumulates on the ground.

accumulating snow

Edit this sketch in the p5.js editor.

Remix Ideas

  • Use a rolling average to smooth out the ground.
  • Make your snow move horizontally rather than just falling straight down.
  • Add trees, mountains, or a snowman!

Comments and Questions

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!