Liking cljdoc? Tell your friends :D

baredom.components.x-kinetic-canvas.bubbles


create-entitiescljs

(create-entities width height count _variant & _rest)

Create an array of bubble entities.

Create an array of bubble entities.
sourceraw docstring

draw!cljs

(draw! ctx bubbles _width _height colors _time)

Render bubbles to a 2D canvas context.

Render bubbles to a 2D canvas context.
sourceraw docstring

draw-static!cljs

(draw-static! ctx bubbles width height colors)

Render a single static frame (prefers-reduced-motion).

Render a single static frame (prefers-reduced-motion).
sourceraw docstring

update-entities!cljs

(update-entities! bubbles dt speed-multiplier width height _variant)

Update bubble positions each frame. Bubbles float upward and wrap around.

Update bubble positions each frame. Bubbles float upward and wrap around.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close