Skip to content
0:00 / 0:00

#glsl#shadertoy#fractals

How to turn your 2d fractal into 3d!

The Art of Code

60K subscribers • 19 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

15K views4 years ago1 recommendation

Graphics and audioRenderingCreative coding

How to convert a 2D Koch Snowflake fractal into a 3D shape using GLSL shaders on Shadertoy.

A while ago someone asked me if its possible to turn a 2d Koch Snowflake into 3d. I thought about it for a bit and came up with a few ways to do this. In this video we'll go over some of those ways! ========== Timetable ========== - Intro - Setup - 2d Koch Distance - Implementation in 3d - Straight Intersection - Material - Revolution - Blend with Sphere - Outro ========== Social Media Links ========== Twitter: @The_ArtOfCode Facebook: facebook.com/groups/theartofcode/ Patreon: patreon.com/TheArtOfCode ShaderToy: shadertoy.com/user/BigWIngs PayPal Donation: paypal.me/theartofcode FX Hash (NFTs): fxhash.xyz/u/The%20Art%20of%20Code ========== NFT of this video ================= fxhash.xyz/generative/13884 ========== If you want to follow along ========== Starting point: shadertoy.com/view/WtGXDD Koch Snowflake: shadertoy.com/view/tdcGDj End Result: shadertoy.com/view/sdtcR2 ========== Other videos to watch ========== ShaderToy for complete beginners: youtu.be/u5HAYVHsasc Writing a ray marcher: youtu.be/PGtv-dBi2wE Raymarching operators (Booleans etc): youtu.be/AfKGMUDWfuE Distance functions for 3d primitives (torus, cylinder etc): youtu.be/Ff0jJyyiVyw Creating a Koch snowflake: youtu.be/il_Qg9AqQkE

Why it's here

1 person recommends this

What people say. Recommended as an excellent tutorial on shader programming and 3D fractal generation.

u/CountFrolicin r/GraphicsProgramming • Recommends

Turn your 2d fractal into a 3d one!