Liking cljdoc? Tell your friends :D

quil.applet

Functions and macros for initialising and controlling visualisation applets.

Functions and macros for initialising and controlling visualisation applets.
raw docstring

*applet*clj

source

-drawclj

(-draw this)
source

-exitActualclj

(-exitActual this)

Overriding PApplet.exitActual because we don't want it to call System.exit().

Overriding PApplet.exitActual because we don't want it to call
System.exit().
sourceraw docstring

-focusGainedclj

(-focusGained this)
(-focusGained this evt)
source

-focusLostclj

(-focusLost this)
(-focusLost this evt)
source

-frameRateclj

(-frameRate this new-rate-target)
source

-keyPressedclj

(-keyPressed this)
(-keyPressed this evt)
source

-keyReleasedclj

(-keyReleased this)
(-keyReleased this evt)
source

-keyTypedclj

(-keyTyped this)
(-keyTyped this evt)
source

-metaclj

(-meta this)
source

-mouseClickedclj

(-mouseClicked this)
(-mouseClicked this evt)
source

-mouseDraggedclj

(-mouseDragged this)
(-mouseDragged this evt)
source

-mouseEnteredclj

(-mouseEntered this)
(-mouseEntered this evt)
source

-mouseExitedclj

(-mouseExited this)
(-mouseExited this evt)
source

-mouseMovedclj

(-mouseMoved this)
(-mouseMoved this evt)
source

-mousePressedclj

(-mousePressed this)
(-mousePressed this evt)
source

-mouseReleasedclj

(-mouseReleased this)
(-mouseReleased this evt)
source

-mouseWheelclj

(-mouseWheel this evt)
source

-quil-applet-initclj

(-quil-applet-init state)
source

-settingsclj

(-settings this)

Overriding PApplet.settings() to set size.

Overriding PApplet.settings() to set size.
sourceraw docstring

-setupclj

(-setup this)
source

-sketchFullScreenclj

(-sketchFullScreen this)
source

-sketchRendererclj

(-sketchRenderer this)
source

appletclj

(applet & opts)

Create and start a new visualisation applet. All options used here should be documented in 'defsketch' docstring.

Create and start a new visualisation applet. All options used
here should be documented in 'defsketch' docstring.
sourceraw docstring

applet-disposedclj

(applet-disposed applet)

This function is called when PApplet executes 'dispose' method. It means we can dispose frame, call on-close function and perform other clean ups.

This function is called when PApplet executes 'dispose' method.
It means we can dispose frame, call on-close function and perform other
clean ups.
sourceraw docstring

applet-stateclj

(applet-state applet k)

Fetch an element of state from within the applet

Fetch an element of state from within the applet
sourceraw docstring

attach-applet-listenersclj

(attach-applet-listeners applet)
source

current-appletclj

(current-applet)
source

defappletcljmacro

(defapplet app-name & opts)

Define and start an applet and bind it to a var with the symbol app-name. If any of the options to the various callbacks are symbols, it wraps them in a call to var to ensure they aren't inlined and that redefinitions to the original fns are reflected in the visualisation. See applet for the available options.

Define and start an applet and bind it to a var with the symbol
app-name. If any of the options to the various callbacks are
symbols, it wraps them in a call to var to ensure they aren't
inlined and that redefinitions to the original fns are reflected in
the visualisation. See applet for the available options.
sourceraw docstring

generate-listenerscljmacro

(generate-listeners)

Generates all listeners like onKeyPress, onMouseClick and others.

Generates all listeners like onKeyPress, onMouseClick and others.
sourceraw docstring

listenersclj

source

resolve-rendererclj

(resolve-renderer renderer)

Converts keyword to Processing renderer string constant. This string can be passed to native Processing methods. If renderer passed as String - do nothing and simply return it

Converts keyword to Processing renderer string constant.
This string can be passed to native Processing methods.
If renderer passed as String - do nothing and simply return it
sourceraw docstring

untitled-applet-id*clj

source

with-appletcljmacro

(with-applet applet & body)

Binds dynamic var to current applet.

Binds dynamic var to current applet.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close