Back to photostream

sierpinski4

Sierpinski fractal fun in Blender (I used Python-flavoured p5.js to create the heightmap).

 

Elevation function is z=((x|y)%64)*4, for x and y in range 0 to 512. The pipe operator is Python bitwise-OR.

 

Shader is a 50/50 mix of Diffuse and Ambient Occlusion.

1,246 views
3 faves
1 comment
Uploaded on July 17, 2019