Imports a Nodebox library.

See the Libraries page for a full list.

size(w, h)

Sets the size of the canvas. Only the first call will have any effect.


Sets the frame rate for animations (frames per second), and returns the current frame rate.

run(inputcode, iterations=None, run_forever=False, frame_limiter=False)

Executes the contents of a Shoebot script in the current surface’s context.