I created a script with Processing which simulates falling snow. It emerged in the course “Design Programs” by Martin Guder at FHP. You can see the effect in action and download the source.
I created a script with Processing which simulates falling snow. It emerged in the course “Design Programs” by Martin Guder at FHP. You can see the effect in action and download the source.
Comments
hello have a friend who is trying to recreate the effect of snow but is not well understand the code , have imported explain the code used ?
Hi Fernando,
sorry for the late replay. Basically, I’m creating flakes in a loop and change the position on every frame. Then I’m checking for each flake if it is within the canvas. If not it will reset its position to the top an a random x coordinate. Hope that helps you.
Cheers Ivo