Spherical Harmonics with Processing to 3D Models

Spherical Harmonics with Light

With Processing, there’s actually a lot libraries you can download and use to do a lot of cool stuff. One very cool library is called Toxiclibs which is created by Karsten “toxi” Schmidt.

With Toxiclibs, you can also read/save STL files, as well as do cool stuff like generating spherical harmonics models.

Spherical Harmonics may sound like very profound, but its really fun when you actually use it as a way to generate STL files for 3d printing.

Super Ellipsoid - 04042013

Super Ellipsoid – 04042013

This is done using the 0020 version of the toxclibs with toxiclibscore. There is an example within the library called Spherical Harmonics Builder. Based on Paul Bourke’s explanation on his website, there’s 8 numbers m0-m7 which ranges from 0 onwards, which determines how much pointed your model will become.

So we did a bit of tweaking to the original code in the example and we feed in data on 04/04/2013 which is a 8 digit number to draw the model.

Spherical Harmonics STL Model

Spherical Harmonics STL Model

Of course, the next step will be printing it into reality.

And here is the object, printed in 3d.

Spherical Harmonics with Light

Spherical Harmonics with Light

Forgot to mention, it’s printed in glow in the dark!

Spherical Harmonics Glow in the Dark

Spherical Harmonics Glow in the Dark

Pretty pretty huh? You can download it and print one yourself!

Leave a Reply

Your email address will not be published. Required fields are marked *