
indexBase 0
include "window.inc"

Window "HLS Plasma",256,256,4

int x, y, c, color 

For x=0 To Width
   For y=0 To Height
      color= 128.0 + (128.0 * sin(x / 8.0)) + 128.0 + (128.0 * sin(y / 8.0)) / 2
      Pixel (x, y, ColorHLStoRGB(color, color, color)) 
    Next
Next
pause

WinEnd