Search found 12 matches

by 0x69
Tue Mar 16, 2010 11:30 am
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

while inserting something in the middle means shifting everything afterward forward in memory I also thought so, it`s the only reasonable explanation of such slowdown (assuming that tables acts like C arrays, in this situation at least) For more information on the internals of Lua, check out this P...
by 0x69
Mon Mar 15, 2010 8:57 pm
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

Maybe this would give fairer results: function InsertInTheEnd() local t={} for i=1,times do math.random(1+#t) table.insert(t,1) end end function InsertInBetween() local t={} for i=1,times do table.insert(t,math.random(1+#t),1) end end Still SlowDown is => 957x. So what conclusion we can make ? Mayb...
by 0x69
Mon Mar 15, 2010 6:37 pm
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

You may be right, but now I don`t have any wish to implement *nice switch between fractal stages*. I better focus on my new projects ;) Good. It would be a shame if you wouldn't do anything new. ;) Thanks ;) BTW, I made a quick test about perfomance issues regarding insertion into somewhere in betw...
by 0x69
Mon Mar 15, 2010 4:33 pm
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

Is it even necessary to remove points? All points at generation n still exist in generation n+1 , right? Yep, I made a mistake,- removes isn`t needed in principle. But still there exist potential perfomance problem of insertion not in the end of table ;) There is one definite advantage to showing i...
by 0x69
Mon Mar 15, 2010 3:41 pm
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

You should try to get it to calculate and draw a maximum number of lines per frame so there's no lag and the detail can be as large as you want. Rather than doing all operations in a single "frame" which gets exponentially more computationally intensive, maybe you could just run through a...
by 0x69
Sun Mar 14, 2010 11:24 am
Forum: General
Topic: Greetings
Replies: 1
Views: 2298

Greetings

In this topic everybody can say greetings to everybody/somebody for a reason such as holidays / birthdays and etc..

I will start first ;) -

Best wishes to all game developers, because today is ... Pi day !. Let`s celebrate it ;)
by 0x69
Sun Mar 14, 2010 11:04 am
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

farvardin wrote: There should be a way to stop the computation if possible, or to create the fractal step by step.
I`ve added this to known issues. If i will have time and wish - i will add some hang-up prevention, something like not leting user to draw more than 8 lines ;)
farvardin wrote: I love this tool!
Thanks again ;)
by 0x69
Sun Mar 14, 2010 10:28 am
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

As about your problem - in that case fractal is not generated - you saw only intermediate results :-) Well, with fractals one can only show intermediate results at any time, since it would take literally infinite time to completely generate it. ;) Mathematically you are right. But as for PC process...
by 0x69
Sat Mar 13, 2010 7:05 pm
Forum: Libraries and Tools
Topic: Tiny fractal studio :-)
Replies: 20
Views: 18479

Re: Tiny fractal studio :-)

really interesting, but I have to kill the process after the fractal is generated. It's well done anyway. Thanks :-) As about your problem - in that case fractal is not generated - you saw only intermediate results :-) (Each iteration adds additional details to fractal). So you should wait until th...
by 0x69
Sat Mar 13, 2010 6:25 pm
Forum: Games and Creations
Topic: PlanetCon - Galcon clone
Replies: 10
Views: 9048

Re: PlanetCon - Galcon clone

Positive critics: 1. Selecting planets by one - is pain in the *ass*. As in original game - it shoud be possible to select group of planets at once. Try ctrl+click Ups, i didn`t tried ctrl+click, yep it works... but still that way of selection is non-fiendly in some cases. I mean that group selecti...