'Starfield 2020 - by Sierraken
'Made on June 14, 2020. modified by bplus 2020-06-15
'Use your mouse wheel to control speed. Esc to quit.
'Thanks to b+ for some of the math.
x = 300: y = 300: limit = 425
nStars = 250
'sz = 50
'sz2 = 50
'sz3 = 50
'sz4 = 50
'sz5 = 50
'sz6 = 50
'sz7 = 50
'sz8 = 50
'sz9 = 50
'sz10 = 50
'sz11 = 50
'sz12 = 50
'sz13 = 50
'sz14 = 50
'sz15 = 50
'sz16 = 50
'Speed
'ra = _PI(2) * RND
'ra2 = _PI(2) * RND
'ra3 = _PI(2) * RND
'ra4 = _PI(2) * RND
'ra5 = _PI(2) * RND
'ra6 = _PI(2) * RND
'ra7 = _PI(2) * RND
'ra8 = _PI(2) * RND
'ra9 = _PI(2) * RND
'ra10 = _PI(2) * RND
'ra11 = _PI(2) * RND
'ra12 = _PI(2) * RND
'ra13 = _PI(2) * RND
'ra14 = _PI(2) * RND
'ra15 = _PI(2) * RND
'ra16 = _PI(2) * RND
'Size
's = 1
's2 = 1
's3 = 1.25
's4 = 1.25
's5 = 1.25
's6 = 1.25
's7 = 1.5
's8 = 1.5
's9 = 1.5
's10 = 1.75
's11 = 1.75
's12 = 2
's13 = 2.25
's14 = 2.5
's15 = 2.75
's16 = 3
'PRINT s(i)
'END
L = 200
_LIMIT L
'from mouse wheel calc mouseWheel = 0
IF mouseWheel
> 0 THEN L
= L
- 2 IF mouseWheel
< 0 THEN L
= L
+ 2 w = L / 100
_TITLE "Warp: " + w$
+ " Use your Mouse Wheel to control speed. Esc to quit."
'FOR sze = .25 TO s STEP .25
' CIRCLE (x + (sz) * COS(ra), y + (sz) * SIN(ra)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s2 STEP .25
' CIRCLE (x + (sz2) * COS(ra2), y + (sz2) * SIN(ra2)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s3 STEP .25
' CIRCLE (x + (sz3) * COS(ra3), y + (sz3) * SIN(ra3)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s4 STEP .25
' CIRCLE (x + (sz4) * COS(ra4), y + (sz4) * SIN(ra4)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s5 STEP .25
' CIRCLE (x + (sz5) * COS(ra5), y + (sz5) * SIN(ra5)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s6 STEP .25
' CIRCLE (x + (sz6) * COS(ra6), y + (sz6) * SIN(ra6)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s7 STEP .25
' CIRCLE (x + (sz7) * COS(ra7), y + (sz7) * SIN(ra7)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s8 STEP .25
' CIRCLE (x + (sz8) * COS(ra8), y + (sz8) * SIN(ra8)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s9 STEP .25
' CIRCLE (x + (sz9) * COS(ra9), y + (sz9) * SIN(ra9)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s10 STEP .25
' CIRCLE (x + (sz10) * COS(ra10), y + (sz10) * SIN(ra10)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s11 STEP .25
' CIRCLE (x + (sz11) * COS(ra11), y + (sz11) * SIN(ra11)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s12 STEP .25
' CIRCLE (x + (sz12) * COS(ra12), y + (sz12) * SIN(ra12)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s13 STEP .25
' CIRCLE (x + (sz13) * COS(ra13), y + (sz13) * SIN(ra13)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s14 STEP .25
' CIRCLE (x + (sz14) * COS(ra14), y + (sz14) * SIN(ra14)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s15 STEP .25
' CIRCLE (x + (sz15) * COS(ra15), y + (sz15) * SIN(ra15)), sze, _RGB32(255, 255, 255)
'NEXT
'FOR sze = .25 TO s16 STEP .25
' CIRCLE (x + (sz16) * COS(ra16), y + (sz16) * SIN(ra16)), sze, _RGB32(255, 255, 255)
'NEXT
'Speed
'sz = sz + .25
'sz2 = sz2 + .25
'sz3 = sz3 + .25
'sz4 = sz4 + .35
'sz5 = sz5 + .35
'sz6 = sz6 + .5
'sz7 = sz7 + .5
'sz8 = sz8 + .75
'sz9 = sz9 + 1
'sz10 = sz10 + 1.25
'sz11 = sz11 + 1.35
'sz12 = sz12 + 1.45
'sz13 = sz13 + 1.55
'sz14 = sz14 + 1.65
'sz15 = sz15 + 1.75
'sz16 = sz16 + 1.85
'IF sz > 700 THEN sz = 50: ra = _PI(2) * RND
'IF sz2 > 750 THEN sz2 = 50: ra2 = _PI(2) * RND
'IF sz3 > 800 THEN sz3 = 50: ra3 = _PI(2) * RND
'IF sz4 > 850 THEN sz4 = 50: ra4 = _PI(2) * RND
'IF sz5 > 900 THEN sz5 = 50: ra5 = _PI(2) * RND
'IF sz6 > 925 THEN sz6 = 50: ra6 = _PI(2) * RND
'IF sz7 > 950 THEN sz7 = 50: ra7 = _PI(2) * RND
'IF sz8 > 975 THEN sz8 = 50: ra8 = _PI(2) * RND
'IF sz9 > 985 THEN sz9 = 50: ra9 = _PI(2) * RND
'IF sz10 > 1000 THEN sz10 = 50: ra10 = _PI(2) * RND
'IF sz11 > 1010 THEN sz11 = 50: ra11 = _PI(2) * RND
'IF sz12 > 1020 THEN sz12 = 50: ra12 = _PI(2) * RND
'IF sz13 > 1030 THEN sz13 = 50: ra13 = _PI(2) * RND
'IF sz14 > 1045 THEN sz14 = 50: ra14 = _PI(2) * RND
'IF sz15 > 1070 THEN sz15 = 50: ra15 = _PI(2) * RND
'IF sz16 > 1100 THEN sz16 = 50: ra16 = _PI(2) * RND
sz
(i
) = sz
(i
) + _ROUND(i
* 1 / 8 + .5) ' is x or y off screen?