Benjavides
  • Resume
  • About
  • Contact
  • EN
    • ES
    • DE
  • ES
  • EN

  • DE

Rain


  • Date: April 2016
  • Category: Experiments
  • Tags: #2016 #medialab #p5js

Physical simulation of rain. Assignment for Medialab course

Fullscreen


The drops act like particles with mass that can be affected by forces according to Newton’s second law (F=m*a). An interesting consequence of this is that particles with less mass are more easily blown away by the wind. In the simulation, there are three forces: Gravity, wind, and friction.

To make the simulation, I based it on this example from P5JS, and the book The Nature of Code by Daniel Shiffman also helped.


Made with P5JS.

Link to code

Location

Munich, Germany

Around the web

  • github
  • behance
  • youtube
  • vimeo