Glue code to enable drawing via clojure2d
library.
The main difference from quil
is that canvas
context should be provided explicitely.
Contract for a custom draw
function should accept a canvas as the last parameter.
Glue code to enable drawing via `clojure2d` library. The main difference from `quil` is that `canvas` context should be provided explicitely. Contract for a custom `draw` function should accept a canvas as the last parameter.
Render a whole bunch of small squares that together form a Pyramid. Click with the mouse to simulate an explosion.
Render a whole bunch of small squares that together form a Pyramid. Click with the mouse to simulate an explosion.
Basic structure to start with
Basic structure to start with
No vars found in this namespace.
Basic structure to start with
Basic structure to start with
Helper functions for Box2D vector/matrix math
Helper functions for Box2D vector/matrix math
Helpers for rendering a Box2D world to a Quil sketch
Iteates over all bodies and draws them with simple drawing primitives using
the current stroke style and color. Supply a custom :draw
function to a
body's :user-data
to customize the drawing.
Helpers for rendering a Box2D world to a Quil sketch Iteates over all bodies and draws them with simple drawing primitives using the current stroke style and color. Supply a custom `:draw` function to a body's `:user-data` to customize the drawing.
Singular Value Transform
Singular Value Transform
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close