Code covered by the BSD License  

Highlights from
2d gas simulation interactive

image thumbnail
from 2d gas simulation interactive by Maxim Vedenyov
It is possible to move balls with mouse. Clicked ball will get velocity of pointer.

au
function au

global vx vy
vy=0*vy+50*ones(size(vy));
vx=0*vx;

Contact us