Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: ulam's spiral too slow

by orange (Beadle)
on Apr 21, 2007 at 07:14 UTC ( [id://611275]=note: print w/replies, xml ) Need Help??


in reply to Re^2: ulam's spiral too slow
in thread ulam's spiral too slow

thanks very much atcroft , many ideas in your program, which will help. while searching in http://groups.google.com/group/comp.lang.perl.tk
i have found that we can draw the screen gradually, ie dot by dot with animation by inserting the line
$mw->update;
after
${$img}->put( q{BLUE}, -to => ( $image_w_2 + $p{x}, $image_h_2 + $p{y} ) ) if ( $numbers$i );
so we can enjoy watching the process of drawing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://611275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found