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

Re: LOGO-L> StringArt in MSWLogo



Hi Yehuda,

Thanks for the code. I also produced the images using list processing.
It's amazing, to me at least, to realize that the image is produced
using straight lines exclusively, not a curve in the bunch.
Actually once the technique of drawing via list processing is mastered
it lends itself to many interesting images.  As I said in my previous
post, Dale Seymour's books are really worth looking at.

What I tried to produce in the StringArt project was an experimentation
tool. The basic elements parameters: angle, length of the legs (length1
and length2) and leg division (n) are all set able from the sliders. A
single element may be drawn with the 'draw' button or elements can be
strung together using the 7 buttons at the bottom left of the screen. 
The dots indicate where the apex of the triangle will be located. The
'set angle to' message is only a hint.  It the element angle is set to
this angle a more 'complete' image is produced. However the angle can be
set to any value. The legs of the angle can be set to different lengths.
Finally logo commands can be inputted in the text box at the lower right
and executed. 

The image I sent in the last message was produced as follows:
The sliders have the values shown.
First the left square button was pressed. This produced an image similar
to what your code produced.
Second  the far right square button was pressed. This produced the
square image which seems to sit at 45 degrees.
Third the middle square button was pressed.
The logo code was executed to turn the turtle 45 degrees.
And finally the middle square button was pressed again.

It is also possible to do basic tessellation experimentation. Once an
image is draw the turtle can be transposed using the logo command window
and the image redrawn.

The project really needs to be run to get a good feel for it.  Remember
as long as you are running Win95 you can get the plugin from LCSI and
try it out. You don't need to have MicroWorlds on your machine.  When I
port the code to MSWLogo I intend to recreate the entire project. Using
George's window capabilities it won't be a problem, sliders and buttons
are there. The logo commands can be inputted in the commander. ( I
needed to make the separate logo command box here because on the net you
don't get the command center). The only possible problem is the drawing
images/buttons.  I'm thinking of doing  something with mouseon and
trapping the x,y position. Anyway just need to find the time!

regards
-- 
Frank Caggiano
caggiano@atlantic.net
http://www.atlantic.net/~caggiano
---------------------------------------------------------------
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