fun-mode

navigation-2d

navigation-3d

pause-on-errorclj

quil.middleware/fun-mode

Arguments
[options]
Docstring
Introduces function mode. Adds 'update' function which takes current
state and returns new state. Makes all other functions (setup, draw,
mouse-click, etc) state-aware. See wiki for more details.
Works only inside sketch functions?
No
Original Processing method
None. It is present only in Quil.

quil.middleware/pause-on-errorclj

Arguments
[options]
Docstring
Pauses sketch if any of user-provided handlers throws error.
It allows to fix the error on the fly and continue sketch.
May be good alternative to default '500ms pause if exception'
behaviour.
Works only inside sketch functions?
No
Original Processing method
None. It is present only in Quil.