Mandelbrot Fractal - that doesn't suck...

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

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

Post 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)
Last edited by tentus on Fri Aug 05, 2011 8:33 pm, edited 2 times in total.
Kurosuke needs beta testers
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

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

Post by GijsB »

Astusvis,

read the rules, please.

Edit : decreasing karma for this :(? im just helping him right?
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post 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.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

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

Post 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.
Attachments
mandelbrot.love
(1.15 KiB) Downloaded 117 times
User avatar
Astusvis
Prole
Posts: 33
Joined: Fri Aug 05, 2011 5:22 pm

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

Post by Astusvis »

Who knew locals increased the speed so much... :O
Next: multi-threading!
User avatar
kraftman
Party member
Posts: 277
Joined: Sat May 14, 2011 10:18 am

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests