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

Re: LOGO-L> Visual Arts URL



Hi,

Here's another recursive program that creates tesselation(s).

==================
to do :size :level
if :level<1[stop]
repeat 4[shape]
end

to shape
fd :size rt 180 
do :size :level-1
rt 225 fd :size
rt 45
end
==================

As first try run it by saying:

	do 10 3

As in my previous mail, investigate the program by, among other things,
to relocate the FD :SIZE line inside SHAPE in other places, and also by
adding a second FD :SIZE in different places inside SHAPE. Also try
changing, individually, each of the two inputs to learn their effect.

You are invited to watch these, as well as other tesselations, at my
page:

	http://www.beitberl.ac.il/~shafee/hpage.html

Regards,

[[Yehuda]]


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