I start by putting chunks of color all over the
screen. Then I send the turtle on a random walk,
stopping to fill the region it happens to land in with
some random color. After several hours of this, what
do you think happens?
YouUll need a Logo with a FILL command. HereUs a
LogoWriter version. (I use RANDOM 256 as the input to
SETC because the version of LogoWriter IUm using has
256 colors. You may need to change that.)
TO SETUP
RG
REPEAT 200
[SETC RANDOM 256
RT RANDOM 360
FD RANDOM 200]
PU
END
TO GO
SETC RANDOM 256
RT RANDOM 360
FD RANDOM 1000
PD FILL PU
GO
END
HereUs a MicroWorlds version. After SETUP type FOREVER
[GO] or program the turtle or a button to run GO "Many
Times". You could also use MicroWorlds' paint tools
to create globs of color instead of SETUP.
TO SETUP
CG PD
REPEAT 200
[SETC RANDOM 140
RT RANDOM 360
FD RANDOM 200]
PU
END
TO GO
SETC RANDOM 140
RT RANDOM 360
FD RANDOM 1000
FILL
END
HereUs a UCBLogo version:
TO SETUP
CS PD
REPEAT 200 ~
[SETPC RANDOM 256 ~
RT RANDOM 360 ~
FD RANDOM 200]
PU
END
TO GO
SETPC RANDOM 256
RT RANDOM 360
FD RANDOM 1000
PD FILL PU
GO
END
Have fun and please post your results!
----------------------------------------------
Michael Tempel phone: 212 765 4918
Logo Foundation fax: 212 765 4789
250 West 57th Street
New York NY 10107-2228
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org. Mail
questions about the list administration to logofdn@gsn.org. To
unsubscribe send unsubscribe logo-l to majordomo@gsn.org.