WebGL Fluid Experiment (2014)
51–55 of 55 posts
Re: WebGL Fluid Experiment (2014)
#52Hey, I feel bad for not updating this demo in 6 years! Back then it wouldn't run on iOS, today it could run with no trouble For people on iOS, here's another version with rainbow colors and multi-touch https://haxiomic.github.io/demos/rainbow-fluid/index.html If you like this sort of thing and want to learn more about it I recommend checking out https://www.shadertoy.com/ for more demos and https://thebookofshaders.c…
Is the code up anywhere?
Re: WebGL Fluid Experiment (2014)
#53Hey, I feel bad for not updating this demo in 6 years! Back then it wouldn't run on iOS, today it could run with no trouble For people on iOS, here's another version with rainbow colors and multi-touch https://haxiomic.github.io/demos/rainbow-fluid/index.html If you like this sort of thing and want to learn more about it I recommend checking out https://www.shadertoy.com/ for more demos and https://thebookofshaders.c…
The iOS demo is amazing and I’m shocked no one is saying so! Thanks for making it. Is the code up anywhere?
http://thebookofshaders.com/edit.php?log=200806194314
The technique is called "sine puke", and it works by starting with a gradient (in this case a rainbow) and warping the domain when drawing that gradient by sine functions repeatedly (check the for loop)
In the fluid demo I blend new frames with the previous so you get this slower, softer pattern