/ Plots / 889 "3D sine waves"

Made for Genuary 2023 #15 "Sine Waves".

Made 3D objects, printed with a Creatily Ender 3. The generator yields various low-poly tree variants (.STL format) that can be printed.

This is made in #rustlang using isosurface lib for the marching cubes algorithm and with a resolution of 16^3 to stay in low poly realm.

It uses the "Signed Distance Function" paradigm which aim to give, for any point in space, the distance to the closest object. This paradigm can usually be used to do shader raymarching, but here also perfectly works with marching cubes.

This was relatively trivial to implement but what took me the most time was figuring out how to make my shape contains in the [0,1] domain and not touching edges. I used the intersection with a rounded cube for this. op_intersection(box, pyramid)

As a generative plotter artist, I use code to generate art (creative coding) and physically create it with pen plotters, which is itself a generative process – each physical plot is a unique variant. I love dualities, like digital vs analog physical, abstract vs figurative, orthogonal vs polar, photo vs noise,...