tamaguchi has asked for the wisdom of the Perl Monks concerning the following question:
Is there any good way you could think of that would make the circle move over the canvas at moderate speed?#!/usr/bin/perl -w use Tk; use strict; my $mw = MainWindow->new; my $c = $mw->Canvas( -width => 500, -height => 500, -background =>'blue' ); $c->pack(-expand => 1, -fill => 'both'); my $rect=$c->createOval(100, 150, 120, 170, -fill => 'yellow'); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: -tk Moving circle
by bart (Canon) on Feb 27, 2007 at 11:24 UTC | |
|
Re: -tk Moving circle
by zentara (Cardinal) on Feb 27, 2007 at 12:55 UTC | |
|
Re: -tk Moving circle
by Samy_rio (Vicar) on Feb 27, 2007 at 09:42 UTC |