Information

Author:
    FredFredrickson
Rating:
    9.1 (16 votes)
Type:
    Example
Language:
    GM 6
Reviews:
    None
Submitted:
    August 08, 2006
Dev - DB/form (refering to updated - check code)
Download:
    DOWNLOAD (659)
Dev - make AJAX
Screenshots (2)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
Mandelbrot Fractal Explorer
This is a quick little demo of the <a href="">Mandelbrot Fractal</a> converted over to GM. Of course, getting GM to render anything on a per-pixel basis is a tad slow, but I have added a "resolution" feature to the code that will render a low resolution preview.

To use, click and drag the image on the screen to move the preview window around, and use the mouse wheel to zoom in and out (a tiny bit quirky, as it offsets to the upper left). Once you've got an image you want to render in full resolution, press the space bar, and wait for GM to finish. In about 10 minutes, your computer will have used GM to render part of the Mandelbrot Fractal!

If you want an even higher quality image, try going into the key press event for the draw object, and change the resolution argument from 1 to .5. This will increase the time it takes to render, but will also add some anti-aliasing to the image.

The code used in this example was mostly lifted from a previously written example on Mandelbrot, found <a href="http://plus.maths.org/issue9/features/mandelbrot/index.html">here</a>;. I won't pretend to be much of an authority on math, and credit is due to the maker of this site.

If you use this example to create anything, credit to me is appreciated but not required. Enjoy!


Target platforms:



31 Results
1 2 Next

Wow, truely amazing.
Posted by Rez August 08, 2006 23:05 - 11.4 years ago
| [#01]

Pretty cool, now you've made me interested enough to learn about the math behind fractals.
Posted by darkpulsaromega August 09, 2006 0:14 - 11.4 years ago
| [#02]

Holy hell that's freaking sweet.
Posted by melee-master August 09, 2006 0:47 - 11.4 years ago
| [#03]

mandelbrot is awesome. I've used it before to generate planets and such. Good job!
Posted by Malaika August 09, 2006 1:12 - 11.4 years ago
| [#04]

that's awsome man, but i get tears in the left hand side of the window. any clue as to why?
Posted by chiggerfruit August 09, 2006 1:40 - 11.4 years ago
| [#05]

Damn, nice job. :)
Posted by fprefect111 August 09, 2006 2:44 - 11.4 years ago
| [#06]

You never fail to impress me. 1337/10!
Posted by Amarin August 09, 2006 3:31 - 11.4 years ago
| [#07]

Freaking Awesome, Even thought it takes a while - 10/10
Posted by Siert August 09, 2006 8:16 - 11.4 years ago
| [#08]

Wow, I thought that it was only KC and Yourself who were into making those things. Sadly, I don't have a mousewheel. v_v (darn old PS2 mouses)
Posted by Takagi August 09, 2006 10:46 - 11.4 years ago
| [#09]

Pretty nice.
Posted by raketooy August 09, 2006 12:21 - 11.4 years ago
| [#10]

wow nice effect you have there... except the fact that it takes forever to render but you cant really stop that, huh?
Posted by shadowstrike32 August 09, 2006 12:45 - 11.4 years ago
| [#11]

Nope... tis the speed of GM.
Posted by FredFredrickson August 09, 2006 12:47 - 11.4 years ago
| [#12]

Nice. I was considering mabye doing this....

Some info on it and some corrections: The mandelbrot set is not a fractal, though it does contain copies of itself. theyre just not in the right spots for it to be a fractal.

There was also something i learned recently, that every example of chaos is contained in the set, or something like that.

(i was just at this math camp, and the last week we learned all this cool stuff about fractals and chaos and stuff)

I was working on some other math thing, where fractals exist in random sets of points, but this pwns whatever i was going to do. 10/10, and added to my favorites. Its not the best ive seen, but for something done in GM, incredible.
Posted by HeroofTime55 August 09, 2006 14:19 - 11.4 years ago
| [#13]

oof, forgot to add my rating >.< adding it here...
Posted by HeroofTime55 August 09, 2006 14:19 - 11.4 years ago
| [#14]

1/10

+9

/2
*2
Posted by poultry August 09, 2006 15:17 - 11.4 years ago
| [#15]

omg the mandelbrot amazes me. if you zoom in a lot you'll find more madelbrots! this is really awesome, good work!
Posted by August 09, 2006 15:27 - 11.4 years ago
| [#16]

This is awesome, but the controls are a bit to figue out.
Posted by Atmosck August 09, 2006 15:54 - 11.4 years ago
| [#17]

I... Don't... Understand!


It just looked like a bunch of pixels to me...

And that preveiw looks somewhat like our good friend Yourself's avatar.

10/10 anyway.
Posted by abacus August 09, 2006 19:50 - 11.4 years ago
| [#18]

Use the space bar!
Posted by FredFredrickson August 09, 2006 19:58 - 11.4 years ago
| [#19]

I didn't understand untill I pressed the space bar XD.
huge arrays, takes a while, speed it up by using screen_refresh() less often, please.
10/10
- I took the screen refresh functions out, way faster ^_^
Posted by noshenim August 09, 2006 21:46 - 11.4 years ago
| [#20]

31 Results
1 2 Next

Recent Activity
 
Active Users (0)