Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,17 +1,20 @@
|
|||
# Fractal tree
|
||||
#
|
||||
color 555
|
||||
proc tree x y deg n . .
|
||||
if n > 0
|
||||
linewidth n * 0.4
|
||||
move x y
|
||||
x += cos deg * n * 1.3 * (randomf + 0.5)
|
||||
y += sin deg * n * 1.3 * (randomf + 0.5)
|
||||
line x y
|
||||
call tree x y deg - 20 n - 1
|
||||
call tree x y deg + 20 n - 1
|
||||
.
|
||||
if n > 0
|
||||
linewidth n * 0.4
|
||||
move x y
|
||||
x += cos deg * n * 1.3 * (randomf + 0.5)
|
||||
y += sin deg * n * 1.3 * (randomf + 0.5)
|
||||
line x y
|
||||
tree x y deg - 20 n - 1
|
||||
tree x y deg + 20 n - 1
|
||||
.
|
||||
.
|
||||
timer 0
|
||||
on timer
|
||||
clear
|
||||
call tree 50 90 -90 10
|
||||
timer 1
|
||||
clear
|
||||
tree 50 10 90 10
|
||||
timer 2
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue