Tag Archives: Fun

WebGL Sand Toy

Here is a little WebGL experiment I wrote in the form of a fun particle simulation.  Individual pixels from a photo are rendered as separate GL points.  The particle physics are done on the GPU using a shader.  Somewhat directly inspired by a little app that a friend of mine wrote years ago.  But this one is done solely in Javascript/WebGL in a browser rather than in native code.

Give it a try.

sandtoy
See my Experiment on ChromeExperiments.com