Page 2 of 2

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Fri Aug 05, 2011 8:28 pm
by tentus
Just so you know, your threading will be broken in 0.8.0, send is going to become set.

Code: Select all

main.lua:5: attempt to call method 'send' (a nil value)

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Fri Aug 05, 2011 8:30 pm
by GijsB
Astusvis,

read the rules, please.

Edit : decreasing karma for this :(? im just helping him right?

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Fri Aug 05, 2011 8:48 pm
by slime
tentus wrote:Just so you know, your threading will be broken in 0.8.0, send is going to become set.

Code: Select all

main.lua:5: attempt to call method 'send' (a nil value)
Additionally, receive will become get.

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Fri Aug 05, 2011 9:29 pm
by TechnoCat
up/down to zoom
left/right to pan left and right
[BE PATIENT TO SEE MOVEMENT]

Also sped up the computation drastically with Lua magic and cleaned up the code a little.

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Sat Aug 06, 2011 9:07 am
by Astusvis
Who knew locals increased the speed so much... :O
Next: multi-threading!

Re: Mandelbrot Fractal - that doesn't suck...

Posted: Sat Aug 06, 2011 10:51 am
by kraftman
nice one.

If you wanted to continue it you could only calculate the extra data when panning,and add Orbits ala:
https://www.youtube.com/watch?v=P3WdnLSI2hs