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

LOGO-L> Re: one-liners



Olga Tuzova sent these one-liners:

<<

; disappearing triangle
px repeat 360[setx 200*(cos repcount) sety xcor*(cos repcount) home] 

; one-liners in "animal style"

; bird's wings
repeat 360[setx 200*(sin repcount)  sety xcor*(cos 2*repcount) home]

; butterfly
 repeat 360[setx 200*(sin 2*repcount)  sety xcor*(cos repcount) home]

; fish
 repeat 360[setx 200*(cos 2*repcount)  sety xcor*(cos repcount) home]

>>

Thanks, Olga. I knew you would enjoy the animal challenge.


de Walt Smith, sent this:

<<

Block or "Mental State June 5th"
repeat 25726[setpos se(50 - random 100)(50 - random 100) ]

>>

He also suggests:
> Let's have a contest to figure out how to do a PX in MicroWorlds!

I wonder if this is actually possible.
Can someone make a procedure to substitute for FD
(call it FDX) which works like FD in PENREVERSE (PX)
mode (in black and white)?


M.H. Elhefni sends these lovely one-liners:

<<

;these are two variations of the same quasi-fractal

ht

;first
for [l 10 80 5][repeat 8[repeat 8[fd :l rt 45]rt 45]

;second
for [l 10 80 5][repeat 5[repeat 8[fd :l rt 45]rt 72]

;octa-star spiral
for [l 0 120 4][repeat 8[fd :l rt 135]fd :l rt 30]

;penta-star spiral
for [l 0 95 3][repeat 5[fd :l rt 144]fd :l rt 30]

>>

Have fun,
Keith Enevoldsen
---------------------------------------------------------------
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