4 ms·
The iOS demo is amazing and I’m shocked no one is saying so! Thanks for making it. Is the code up anywhere?
by sillysaurusx 6y ago
The iOS demo is amazing and I’m shocked no one is saying so! Thanks for making it.
Is the code up anywhere?
- haxiomic 6y agoHey :), full code isn't up yet but I can share the color pattern: http://thebookofshaders.com/edit.php?log=200806194314 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