Home Artists Posts Import Register

Content

Hey all! In this video I'll explain the basics of kaleidoscopic iterated function systems. The KIFS can produce many different kinds of fractals and can even be extended to 3d.

I decided to give patrons 1 week early access to all new videos so enjoy!


Files

Shader Coding: KIFS Fractals explained!

In this video I'll explain how to make a Koch Snowflake fractal. The Koch snowflake is an example of a kaleidoscopic iterated function system (KIFS) fractal. Twitter: @The_ArtOfCode Patreon: https://www.patreon.com/TheArtOfCode If you are new to shader coding then check out my absolute beginners tutorial: https://www.youtube.com/watch?v=u5HAYVHsasc Live version: https://www.shadertoy.com/view/tdcGDj Truchet mirror tiling solution: https://www.shadertoy.com/view/td33D4 Music: Verve - Assaf Ayalon

Comments

Anonymous

Guys! I need some help! At 11:34, It makes it hard for me to understand how the reflection works here! The dot product between two vector is not the distance. Here we have the direction but how uv -= n * d works here? d is dot product I cannot understand the geometrical logic behind it. Could someone please explain this part to me?

TheArtOfCode

The dot product in this case you could see as a vector projection: how many times does the vector n fit inside of the vector UV (arrow from the origin). Normally a vector projection needs the for product to be divided by the length of the vector you are projecting but because n is normalized (length 1) you don't have to do it in this case. There are many videos and articles about vector projection so just Google it if that's still unclear.