🍳 ☕ 🍩
Kaboom CookBook A place for snippets of Kaboom code
Components
- openClose() - A cyclic animation
- blink() - Blink your objects
- shadow() - Give your objects a shadow that follows it
Kaboom Util
Kaboom Util is a npm package for import a lot of Kaboom components and plugins in only one import
Install
NPM: npm i kaboom-util
CDN: other day
Use
import kaboom from "kaboom";
import kutil from "kaboom-util";
kaboom();
const obj = add([
rect(4, 4),
kutil.blink(5)
]);