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

Re: LOGO-L> Tessellation program



At 8:15 AM -0500 12/29/97, RAY CATZEL wrote:
>Yehuda presented an interesting short tessellation program which I
>converted to
>MicroWorlds as follows:
>
>to do :size :level
>if :level < 1[stop]
>repeat 6[shape1 rt 60]
>end
>
>to shape1
>pd
>fd :size
>rt 180
>do :size :level - 1
>rt 180
>end
>
>I  executed it using  DO 3 16  with the following results:
>1) the program never stopped.  I am sure it has to do with STOP which has a
>different meaning in MicroWorlds.
>2) when I used STOPME or STOPALL it only drew a short line, meaning that it
>probably only executed the first few lines of SHAPE1.
>
No, the program is fine the way it is.  You switched the inputs.  Yehuda
suggested DO 16 3 as a first try.

DO 3 16 will eventually finish, but you'll have to wait a while... a LONG
while.

-Michael

--------------------------------------------------------
Michael Tempel                    tel: 212 579 8028
Logo Foundation                   fax: 212 579 8013
250 West 85th Street              michaelt@media.mit.edu
New York  NY 10024
http://el.www.media.mit.edu/logo-foundation/


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