The message below is being cross-posted from the LogoForum. Please
reply here at comp.lang.logo and it will be cross-posted back to the
LogoForum. The original author of this message is
jotape1960@[EMAIL PROTECTED]
In LogoForum@[EMAIL PROTECTED]
John St. Clair <john.stclair@[EMAIL PROTECTED]
>
wrote:
>
> The message below is being cross-posted from comp.lang.logo. Please
> reply to LogoForum@[EMAIL PROTECTED]
or a11 <ashabsurya@[EMAIL PROTECTED]
>.
>
> Hi
>
> I want to draw [ shrink or grow squares ] using recursion in logo
> like stacking them . Can anyone please help me with this?
>
>
> Thanks
>
I can't understand exactly how you want but, in a very simple way
(please, copy and paste into the MSW/FMSLogo editor the following
procedures):
to grow
for [size 10 300 10][slowdraw 2 square :size wait 15]
slowdraw 0
end
to shrink
for [size 300 10 -10][slowdraw 2 square :size wait 15]
slowdraw 0
end
to square :size
repeat 4 [fd :size rt 90]
end
You must type "SHRINK" or "GROW".
Of course, it's just a very simple and limited version.
You must to explore (with the MSW/FMSLogo Help) what about the *.GIF
graphic animation capabilities of MSW/FMSLogo.
If you want go beyond the standars, a big step is to use ElicaLogo.
GOD BLESS YOU ALL!!!!!!!
Juan J. Paredes G.
From Curicó, Chile, South America, with love
__._,_.___
LogoForum messages are archived at:
http://groups.yahoo.com/group/LogoForum