Hello,
GdiPlus in new clothes.
Demo1:
include "gdip.inc"
window 800,600,1
double x1=400, y0=300, x2=400, f, z
for z=0 to 200000
f = f + 3.14
x1 = x1 + cos(f*f)
x2 = x2 - cos(f*f)
y0 = y0 + sin(f*f)
color3B mod(z,255),mod(z,255),mod(z,255)
setpixel(x1, y0 + 200)
setpixel(x2, y0 + 200)
next
color3B 255,255,255
text 340,0,20,"SCARAB"
waitkey
winEnd
Demo2
include "gdip.inc"
window 800,600,1
float x1=400, y0=300, x2=400, f, z, a
for z=0 to 300000
f = f + 4.0
x1 = x1 + cos(z*f)
x2 = x2 - cos(z*f)
y0 = y0 + sin(z*f)
color3B mod(z,255),mod(z,255),mod(z,255)
setpixel(x1, y0-150)
setpixel(x2, y0-150)
next
color3B 255,255,255
text 80,16,20,"SCARAB SISTER"
waitkey
winEnd
Demo3
include "gdip.inc"
window 320,240,1
setframes 100
single r[256]
single g[256]
single b[256]
single s1,c1,c2,c3,f,x,y
for x=0 to 256
r[x] = 255 -((sin(3.14 * 2 * x / 255) + 1) * 127)
g[x] = ((sin(3.14 * 2 * x / 127) + 1) * 64)
b[x] = 255 - r[x]
next
while key(27)=0
for y=0 to 240
for x=0 to 320
c1 = sin(x / 10 + f + y / 10)
c2 = sqr((sin(0.8*f)*160-x+160) * (sin(0.8*f)*160-x+160) + (cos(1.2*f)*100-y+100) * (cos(1.2*f)*100-y+100))
c2 = sin(c2 / 10)
c3 = (c1 + c2) / .5
s1 = ((c3 + 1) * 127)
color3B r[s1], g[s1], b[s1]
setpixel x, y
next
next
f +=.1
sync()
wend
winEnd