more nonsense by Peter.
indexBase 0
include "window.h"
% Blue = 0xFF0000
% Red = 0x0000FF
% Green = 0x00FF00
% White = 0xffffff
SetWindow "SpeedBalls",320,200,w_2
sys_mode=4
single y1, y2, y3, angle
single os=60, sc=40, spd= 0.05
While WinExit=0
cls 0
y1 = os + sin(angle) * sc
y2 = os + sin(angle + 0.4) * sc
y3 = os + sin(angle + 0.8) * sc
Oval 80, y1, 42, 42, white
Oval 120, y2, 42, 42, white
oval 160, y3, 42, 42, white
angle += spd
DoEvents
SwapBuffers
FrameRate 60
Wend
WinEnd
indexBase 0
include "window.h"
% Pink = 0xC0CBFF
% Gold = 0x00D7FF
% Silv = 0xC0C0C0
% Crim = 0x3C14DC
% Moca = 0xB5F4FF
% Medi = 0x71B33C
% Cyan = 0xFFFF00
% Deep = 0xEBCE87
% Aqua = 0xD4FF7F
% stel = 0xB48246
% rose = 0xE1E4FF
% Lava = 0xF5F0FF
% Azur = 0xFFFFF0
% Peru = 0x3F85D8
% Roon = 0x000080
% Ivor = 0xF0FFFF
% Boro = 0xDCDCDC
% Corn = 0xEd9564
SetWindow "Lines",214,194,w_2
SetFont 12,24,0,""
sys i
Dim col[10] as sys
col[01] = pink
col[02] = silv
col[03] = crim
col[04] = moca
col[05] = medi
col[06] = cyan
col[07] = rose
col[08] = corn
col[09] = lava
col[10] = deep
While WinExit=0
For i=1 To 10
Line 20,i*15,180,i*15,i,col[i]
Next
DoEvents
SwapBuffers
Wend
WinEnd