Here it is with lettering reversed so it will play right on record player with needle at edge of donut.
_TITLE "Donut code spiral by bplus mod by bplus 2018-03-20" sprinkle$ = "bplus "
lenF = 1240
tArea = tw * th * lenF / 2
d = ((x - cx) ^ 2 + (y - cy) ^ 2) ^ .5
midInk
180, 90, 55, 80, 40, 20, 1 - ABS(2 / 3 * r
- d
) / (.335 * r
), 0idx = 0: rr = r / 3
idx = idx + 1
rr = r / 3.6 + idx / (rr ^ .4) + 32
a = a + 12 / rr
midInk
180, 90, 55, 80, 40, 20, ABS(2 / 3 * r
- d
) / (.335 * r
), 1 rand%
= INT(RND * (hi%
- lo%
+ 1)) + lo%
rclr&&
= _RGB32(rand%
(64, 255), rand%
(64, 255), rand%
(64, 255))SUB midInk
(r1
, g1
, b1
, r2
, g2
, b2
, fr
, tf
) fc&& = rclr&&
fc&&
= _RGB32(r1
+ (r2
- r1
) * (1 - fr
), g1
+ (g2
- g1
) * (1 - fr
), b1
+ (b2
- b1
) * (1 - fr
)) bc&&
= _RGB32(r1
+ (r2
- r1
) * fr
, g1
+ (g2
- g1
) * fr
, b1
+ (b2
- b1
) * fr
)'XOXOXOXO
Might be a bit hypnotic because doing it with code file WAS much more interesting.