996
|
1 v >0a"detroppus ton TRUT">:#,_@
|
|
2 >#^"TRUT"4(n 11x ; Load fingerprint ;
|
|
3 " si neP :FEDNU">:#,_E.a, 11x> ; UNDEF: Initial pen state ;
|
|
4 "=x si noitisoP :FEDNU">:#,_Q."=y",,.a, 11x> ; UNDEF: Initial position ;
|
|
5 " si gnidaeH :FEDNU">:#,_A.a"seerged">:#,_ 11x> ; UNDEF: Initial heading ;
|
|
6 "( era sdnuoB :FEDNU">:#,_U.."( )",,,..a'),, 11x> ; UNDEF: Bounds ;
|
|
7 a7+3*5*N 0C 11x> ; Clear with blue. Set pen to black ;
|
|
8 0H 1P 11x> ; Set direction, pen down. ;
|
|
9 52*1-F 0P 2F 1P 53*1-F 11x> ; Draw first line with a gap in it. ;
|
|
10 2f+8*8*8*8*8*6*5*1+C 9a*H 11x> ; Set colour to red and turn to 90 deg. ;
|
|
11 5F 9a*L 11x> ; Draw vertical line, turn 90 deg right.;
|
|
12 0C 5F 11x> ; Change to black, draw line. ;
|
|
13 0P 5B 9a*R aB 1P 11x> ; Lift pen Go back and draw first dot. ;
|
|
14 0P f1+8*8*a*6*C 11x> ; Lift pen, Set green. ;
|
|
15 005-T 1P 11x> ; Teleport to the other dot, pen down. ;
|
|
16 I a"egami kcehc won ,ENOD">:#,_@ > ; Print out and quit. ;
|
|
17
|
|
18 What the image should look like:
|
|
19
|
|
20 This program should draw a pattern like below.
|
|
21 The * is a dot.
|
|
22 The horizontal (black) line should be 25 units long.
|
|
23 There should be a gap 2/3rd along the line of 2 units.
|
|
24 Then a red line (5 units long) at a straight angle.
|
|
25 The specs doesn't say if 90 degrees is upwards or downwards. So either is
|
|
26 allowed.
|
|
27 The red should be (#ff0001) (a slight slight blue tint).
|
|
28 Then another (black) line of length 5 at straight angle.
|
|
29 This should be 90 degrees *right* from the red line.
|
|
30 The dots should be 5 units above the first line.
|
|
31 In other words one should be at (0,-5) the other at (25,-5).
|
|
32 Or below, depending on where 90 degrees is.
|
|
33 The dot at (25,-5) should be black.
|
|
34 The dot at (0,-5) should be green.
|
|
35 The background should be blue (#0000ff).
|
|
36
|
|
37
|
|
38 * *
|
|
39
|
|
40
|
|
41
|
|
42 --------- --------------.
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 .-----
|