Javascript Fountain

A little experiment to demonstrate how to reproduce physics with Javascript.
We try to reproduce a system of particles.

Remember you physics lessons : P = m * G
y(t) = 1/2 G tē + vy * t + y0
x(t) = vx * t + vo



Amount of particles :