-
Notifications
You must be signed in to change notification settings - Fork 0
/
GR_0041.bas
85 lines (57 loc) · 1.26 KB
/
GR_0041.bas
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
!!
GR_0041
© 2020 by Dietmar Schrausser
!!
c=255
GR.OPEN c,c,c,c,0,1
GR.SCREEN sx,sy
mx=sx/2:my=sy/2
r=0
st: %Start
GR.COLOR c,0,0,0,0
GR.CLS
GR.TEXT.ALIGN 1
GR.TEXT.SIZE 12
GR.TEXT.DRAW tx,2,10,"GR_0041"
GR.COLOR c/2,0,0,0,1
GR.ROTATE.START -4,mx,my
GR.CIRCLE cl,mx,my,6
GR.COLOR c/2,0,0,0,0
GR.LINE ln, mx,my-120,mx,my+120
GR.ROTATE.START 0,mx,my
!FOR a=0 TO 100 STEP 0
GR.OVAL ov, mx-100+a,my-100*SIN(TORADIANS(5))+a,mx+100-a,my+100*SIN(TORADIANS(5))+a
GR.COLOR c/2,0,0,0,0
GR.ROTATE.START -3,mx,my
GR.OVAL ov, mx-35+a,my-35*SIN(TORADIANS(5))+a,mx+35-a,my+35*SIN(TORADIANS(5))+a
GR.ROTATE.END
!NEXT
GR.ROTATE.END
GR.COLOR c/8,0,0,0,0
rr=TORADIANS(90)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
rr=TORADIANS(70)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
rr=TORADIANS(50)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
rr=TORADIANS(30)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
rr=TORADIANS(10)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
GR.COLOR c/2,0,0,0,0
rr=TORADIANS(r-90)
GR.OVAL ov, mx-100*SIN(rr),my-100,mx+100*SIN(rr),my+100
GR.ROTATE.END
GR.RENDER
!!
DO
UNTIL 0
!!
r=r+1
GOTO st
ONBACKKEY:
GOSUB fin
END
fin:
PRINT"GR_0041 © 2020 by Dietmar Schrausser"
RETURN