LOGO-L> Re: String Art once again 
Author Message
 LOGO-L> Re: String Art once again

Yehuda,

Your new code for string patern is, as we say here, simple and tasteful. And, the result is very beautiful. The idea with PUSH/POP can be generalized for any curve, which is described by a function.

For example:

to connect
pu setpos pop "l1
pd setpos pop "l2
end

to curve :l1 :l2 :a
pu setxy -:a y :a pd
for [x -:a 0 2][push "l1 pos setxy :x y :x]
for [x 0 :a 2][push "l2 pos setxy :x y :x]
repeat count :l2[connect]
end

to main
ct cs ht setpc 4 pu
curve [] [] 50
end

to procs
ed[main curve y connect procs]
end

to y :x
op :x*:x/10
end

Regards,
Olga

______________________________________________________
Get Your Private, Free Email at http://www.*-*-*.com/
---------------------------------------------------------------





Tue, 09 Oct 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. LOGO-L> String Art once again

2. LOGO-L> Arcs once again

3. LOGO-L> Sierpinski curves once again

4. LOGO-L> More String Art

5. LOGO-L> String Art Re-visited

6. LOGO-L> book on string art

7. LOGO-L> String Art Article

8. LOGO-L> string art

9. LOGO-L> Re: Midi in LOGO AGAIN

10. LOGO-L> MicroWorlds Clip Art

11. LOGO-L> factorials, once more

12. LOGO-L> Floating point trick once more

 

 
Powered by phpBB® Forum Software