3d fractal solenoid

snippet
fractal

(David Tschumperlé) #1

Just for fun…
I was reading the great site from Paul Bourke this morning, particularly the page about the fractals, and reached this one : Solenoid fractal.
Looks like a challenge to create the same kind of rendering using G’MIC, no ? :stuck_out_tongue:

Finally, I managed to do it, with this fun and unreadable again G’MIC code snippet !
http://pastebin.com/cJ4bgRcw

which works only with the latest pre-release version of G’MIC, numbered 2.0.0_pre (for those who want to test!).
And using the integrated 3d renderer, I’ve got these images (tweaked a bit the colors).

Isn’t that nice ? :smiley:
Yes, that is also totally useless (and thus totally indispensable?).


(Tobias) #2

Yes, that is also totally useless (and thus totally indispensable?).

You are to much an engineer. Just call it art.


(David Tschumperlé) #3

The artist creates his own art with software from others.
The engineer recreates the art of other with his own software :smile:


#4

Mesdames et Messieurs, chapeau bas…


(David Tschumperlé) #5

I wonder how hard it would be to do the same as a GIMP script-fu ? :stuck_out_tongue:


#6

Well regardless of whether it’s art or engineering, I’m impressed :smiley:


(Lyle Kroll) #7

Now that’s just plain freaking awesome, David. :slight_smile:


(David Tschumperlé) #8

I was able to create a small video with one of these funny objects, for those interested


(David Tschumperlé) #9

Also, while I’m here… :slight_smile:
There is a quite cool similar iterative figure, named the Antoine’s necklace, which uses torii in 3d space too. Rendering it in G’MIC is also quite simple, here is the code :

http://pastebin.com/x6wXRWAC

and here is the rendering :