little things

Mandelbrot - January 6th, 2006 [ « ] [ » ]

Hello, I’ve been playing around with the new pixel manipulation features in Flash and I did this (you’ll need version 8 of the Flash player)…

[FLASH]http://www.sunnyblue.net/tp/actionscript/fractals/mandel.swf,200,200[/FLASH]

It’s like the early ’90s all over again! You can click and drag to zoom in on interesting regions (though I didn’t quite get ’round to finishing the box drawing function).

I think there’s a few ways I could get it to run faster (eg. processing the points in blocks perhaps, dynamically altering the iteration parameters depending on the results of the surrounding points…) and it would be nice (and not a great deal of work) to allow the user to define the parameters for the iteration; the limit and how long it will take before it decides the limit isn’t going to be exceeded (currently 4 and 50 respectively) but you know what I’m like, it’ll probably just stay like this.

You can get the code here.

[edit] Apparently 8.5 is going to be a lot quicker at this kind of thing so I expect I’ll do an update in a few months time when I have a look at that.

Leave a Reply

You must be logged in to post a comment.

Login [ « ] [ » ]