[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Logo race




Hi Jesse,

MSWLogo has only one turtle I think.

In LogoWriter you would do it like this:-

tell [0 1] st  ;show turtle's 0 and 1
seth 90        ;sets heading of both turtles
repeat 100 [fd 1]  ;move both turtles

but this is boring because the motion of both turtles is exactly the same.
For a more realistic animation, use this:

repeat 100[ask 0[fd random 3] ask 1 [fd random 3]]

This creates a simulation of parallel processing.
----------------------------
With MicroWorlds it's easier because the parallel processing is built in:-

t1, forever[fd random 3]
t2, forever[fd random 3]
---------------------------------
-- Bill Kerr
(if you're doing animations I'd recommend MicroWorlds)


>I design animations and fun stuff in logo, and would like some help. I just
>discovered MSWLogo when I was about to buy the one I had used at school -
>the 216 colour LogoWriter that has 4 turtles - when I found it.  Back to my
>question - how do I command 2 turtles at a time? I'm making a 6 turtle drag
>strip (designed the straight track and used colourunder for the finish) and
>I wanted to know how to command more than one turtle at the same time. Is it
>something like setturtle 0 : 1, setturtle 0;1 or something different
>entirely?


                                        
                                                               



---------------------------------------------------------------
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.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home