window

v0.0.2
createWindow(w, h);

Create a GLFW window

Arguments

wWindow width
hWindow height

If no window was created and a setup function was defined, a warning is thrown

function setup()
  -- Create the window here
  createWindow(600, 600);
end

function draw()
  -- draw things
end
See createWindow in window.h
background(r, g, b, a);

Clear a background with a color

Arguments

rThe red byte
gThe green byte
bThe blue byte
aThe alpha byte

See background in window.h