A creative coding library.
npm install @erikwatson/brambleWARNING: This is not _yet_ a stable API. It is very likely to change between now and 1.0.0, so don't build anything ambitious with it yet.
A creative coding library for the web.
- Asset Loading
- string
- image
- terrain
- Input Handling
- keyboard
- mouse
- ~~gamepad~~
- Simple Drawing API
- circles
- rectangles
- lines
- images
- animated sprites
- text
- tilesheets that auto-tile
- effects (overlay, dodge, shadow, transparency)
- Collision Detection
- Point vs Rectangle
- Line vs Rectangle
- Rectangle vs Rectangle
- Dynamic Rectangle vs Rectangle
- Line vs Quadratic Bezier curve
- 2D Vectors
- ~~Music and SFX playback~~
- Save/Load
1. Change and commit the code
2. Run a production build with npm run build:prod
3. Update the version number npm version major npm version minor or npm version patch
4. npm run release