createWindow(w, h);
Create a GLFW window
Arguments
w
Window widthh
Window heightIf 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
background(r, g, b, a);
Clear a background with a color
Arguments
r
The red byteg
The green byteb
The blue bytea
The alpha byte