Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / [DBP] 15 lines animated 3D mandelbrot fractal with zoom

Author
Message
Atreides
20
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 18th Sep 2007 01:12
Hmm.. I must admit I could spend my time in a better way, but I wasn't in a mood to do something else.

You can modify the grid resolution (variables height and width) and the calculus accuracy (variable n).
15 lines, 5 commands per line (good old rules :p )


If you don't know what's Mandelbrot fractal, you can "throw an eye" to the wikipedia : http://en.wikipedia.org/wiki/Mandelbrot_set
If you want some clean code to draw a (2D) mandelbrot fractal, you can look at a tutorial I wrote a few years ago : http://www.seuret.com/darkbasic/index.php?rub=fractales

That's not very useful, but that kept my mind busy half an hour

The sleeper must awaken !
Atreides
20
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 18th Sep 2007 02:46
Woops, I forgot to say... click on a cube to zoom near it

The sleeper must awaken !
Mr Kohlenstoff
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 18th Sep 2007 14:02
Looks cool, even if it's hard not to lose orientation when zooming.

Code Dragon
17
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 20th Sep 2007 23:48
That's awesome! I tried to make a Mandelbrot generator once but fail miserably.

Eevil Weevil
16
Years of Service
User Offline
Joined: 1st Aug 2007
Location: Wherever you are, I wil follow
Posted: 31st Oct 2007 22:26 Edited at: 1st Nov 2007 19:21
Quote: "[DBP] 15 lines animated 3D mandelbrot fractal with zoom"

Ug.

Impossible? Anything is impossible. Of course it's impossible, you just have to believe in it.

Login to post a reply

Server time is: 2024-04-20 05:15:49
Your offset time is: 2024-04-20 05:15:49