Something from SdlBasic:
'plasma spiral.sdlbs 2015-10-5 MGA/B+ inspired by Johnno and Peter's latest
xmax=620:ymax=608
setDisplay(xmax,ymax,32,1)
setcaption( "Plasma Spiraling")
autoback(0)
xcenter = xmax/2+8
ycenter = ymax/2+8
red=.2:green=.005:blue=.01:i=1 'plasma initialization
do
a = 1: r = 0 'spiral initialization
do
Plasma=rgb(127+127*sin(red*i),127+127*sin(green*i),127+127*sin(blue*i))
ink(Plasma)
fillcircle(xcenter + r * cos(a), ycenter - r * sin(a), 16)
'screenswap 'if too flashy uncomment this
'spiral drawing
a = a + 1/a 'this is very interesting !
r =5* a
if r >= 300 then: exit do: end if
'plasma mixing
i=i+1
red=red+.2:green=green+.3:blue=blue+.4
if red>.5 then: red=.02:end if
if green>.5 then: green=.005:end if
if blue>.5 then: blue=.01:end if
loop
screenswap
if key(27) then: exit do: end if
loop
I'd like to know if zip worked (my first one).