-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest.f
34 lines (30 loc) · 1.18 KB
/
test.f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
( test plotting with pixels )
( requires: pixels )
variable x variable y
: start clear 0 x ! 0 y ! ;
: | 0 do 35 = if x @ y @ set then 1 x +! loop 0 x ! 1 y +! ;
: turtle start
sym ```````````````````````````````####`` |
sym `````````````````````````````##````#` |
sym ```````````#######``````````#```````# |
sym ````````####```#``##```````#````#```# |
sym ``````##`###```###``##`````#````````# |
sym `````##`#```#`#```#`#`#```#`````````# |
sym ````#``#`````#`````#```#``#``````###` |
sym ```#``#`#```#`#```#`#`#####```````#`` |
sym ``####```###```###``##````#`````##``` |
sym `##``#```#`#```#```#`````#`````#````` |
sym #``#`#```#`#```#``#``````#````#`````` |
sym #```#`#`#`#`#`#`##`````##````#``````` |
sym #````###########`````##`````##``````` |
sym `#``````````````````#``````##```````` |
sym ``#```````````````##`##```#`#```````` |
sym ``################`#```###`#````````` |
sym `#```#````````#````#``````#`````````` |
sym #```###```````#```#`````##`##```````` |
sym #``#```#######````#######````#``````` |
sym `##`````````#````#```````#```#``````` |
sym ````````````#```#`````````###```````` |
sym `````````````###````````````````````` |
show ;
turtle