A collection of creative coding example sketches using Ssam.js and Thing Umbrella.
- Clone this repo.
npm install
SKETCH=<sketch-file-name> npm run dev
source file | result | notes |
---|---|---|
basic-shapes |
basic drawing | |
color-gradient |
oklab color gradient | |
image-load |
load an image file | |
paths-hole |
path with a hole (counter-shape) | |
paths |
different types of path drawings | |
svg-export |
convert Canvas drawing to an SVG file | |
svg-to-canvas |
parse SVG file and draw on Canvas |