Sand Toy
February 10, 2012
Launch Experiment
Not working? This is a WebGL experiment, so try running it with Google Chrome.
From the Author:
Here is a little WebGL experiment 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.
Technology:
WebGL, Texture Lookups in Vector Shader
Comments
My video card is GForce 8600 (which is 4+ years old) and it supports WebGL
Reply to this commentgrrr! why does all the good stuff goto the rich ppl with video cards that support webgl? GRRR
Reply to this commentThere seems to be a race condition causing occasional failures. The two handleTextureLoaded functions each use their respective shader program objects but do not call useProgram() first, so if the wrong program happens to be in use when they get called, there's a failure. I'm new at this, but adding useProgram() calls to these functions seems like the right fix.
Reply to this commentThis is fuckin awesome! show me the light please!! I need to know the learning path to do something as good. I currently develop with as... but i want to try this, any help?
Reply to this commentTry brushing the sand while reassembling.
Reply to this commentSimple, but nice =)
Reply to this commentAwesome work! It would be even better if you were able to drag and drop your images in.
Reply to this commentWow incredible awesome!!
Reply to this comment