• Members of the previous forum can retrieve their temporary password here, (login and check your PM).

patterns emerging from spiral

Migrated topic.

titus

Rising Star
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 😁
 

Attachments

  • basepattern.png
    basepattern.png
    1.4 MB · Views: 0
  • pattern1.png
    pattern1.png
    44.1 KB · Views: 0
  • pattern2.png
    pattern2.png
    39.2 KB · Views: 0
  • pattern3.png
    pattern3.png
    62.9 KB · Views: 0
  • pattern4.png
    pattern4.png
    102.6 KB · Views: 0
  • pattern5.png
    pattern5.png
    221.8 KB · Views: 0
  • pattern6.png
    pattern6.png
    824.4 KB · Views: 0
  • pattern7.png
    pattern7.png
    1 MB · Views: 0
Very cool titus, thank you for sharing! The second last one reminds me of patterns I saw on some mushroom journeys :thumb_up:
 
These are good examples of what is called an aliasing effect. It's derived from limitations of the medium or of the calculations themselves, which can only have a certain maximum level of resolution whether in the digital display or in the number of significant figures in the numerical values. The patterns arose during the zooming process because the resolution became reduced.

That doesn't mean it won't bear some relation to some of the visual patterns seen in psychedelic experiences.
 
Back
Top Bottom