createWindow(w, h, [mode]);
Create a GLFW window.
Arguments
w
Window widthh
Window height[mode]
Rendering mode, either GL2D
or GL3D
, by default GL2D
is set.function setup()
createWindow(100, 100);
end
function draw()
background('magenta');
-- draw things
end
Output