Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
[ 0 31 of ] is grid ( --> [ )
|
||||
|
||||
[ dup * ] is squared ( n --> n )
|
||||
|
||||
[ squared swap squared +
|
||||
10 squared 15 squared 1+
|
||||
within ] is inrange ( n n --> b )
|
||||
|
||||
[ 32 random 16 -
|
||||
32 random 16 -
|
||||
2dup inrange not while
|
||||
2drop again ] is randxy ( --> n n )
|
||||
|
||||
[ 15 + swap 15 +
|
||||
dip [ 2dup peek ]
|
||||
bit | unrot poke ] is plot ( [ n n --> [ )
|
||||
|
||||
[ witheach
|
||||
[ 31 times
|
||||
[ dup
|
||||
i^ bit & iff
|
||||
[ $ "[]" ]
|
||||
else
|
||||
[ $ " " ]
|
||||
echo$ ]
|
||||
drop
|
||||
cr ] ] is draw ( [ --> )
|
||||
|
||||
[ grid
|
||||
swap times
|
||||
[ randxy plot ]
|
||||
draw ] is circle ( n --> )
|
||||
|
||||
100 circle
|
||||
Loading…
Add table
Add a link
Reference in a new issue