Hi all, I recently learnt how to write shaders with glsl, and I eventually began messing around with mandala-type equations, where each pixel's colour is changed depending on the distance and angle to the center of a texture. Some patterns emerged from what when zoomed in just looks like a regular spiral (see attached), but when zoomed out takes on some interesting forms. The pixel colours change according to the following: tan(distance*2 + angle) - cos(exp(distance/100))
Each colour is offset to produce the rainbow effect, with green offset by pi/3 and blue by pi/3 * 2.
Enjoy the eye candy
titus attached the following image(s):
basepattern.png
(1,334kb) downloaded 55 time(s). pattern1.png
(31kb) downloaded 55 time(s). pattern2.png
(28kb) downloaded 54 time(s). pattern3.png
(45kb) downloaded 53 time(s). pattern4.png
(72kb) downloaded 55 time(s). pattern5.png
(156kb) downloaded 54 time(s). pattern6.png
(584kb) downloaded 54 time(s). pattern7.png
(770kb) downloaded 53 time(s).