Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cdaein/ssam-thing-examples

Example sketches using Ssam.js and thi.ng/umbrella
https://github.com/cdaein/ssam-thing-examples

canvas create-ssam creative-coding ssam thing-umbrella

Last synced: 24 days ago
JSON representation

Example sketches using Ssam.js and thi.ng/umbrella

Awesome Lists containing this project

README

        

# ssam-thing-examples

A collection of creative coding example sketches using [Ssam.js](https://github.com/cdaein/ssam) and [Thing Umbrella](https://github.com/thi-ng/umbrella).

## How to run

1. Clone this repo.
2. `npm install`
3. `SKETCH= npm run dev`

## Examples

| source file | result | notes |
| :-----------------------------------------: | :--------------------------------------------: | :-----------------------------------: |
| [`basic-shapes`](./src/basic-shapes.ts) | ![basic shapes](./output/basic-shapes.png) | basic drawing |
| [`color-gradient`](./src/color-gradient.ts) | ![color gradient](./output/color-gradient.png) | oklab color gradient |
| [`image-load`](./src/image-load.ts) | ![image loading](./output/image-load.png) | load an image file |
| [`paths-hole`](./src/paths-hole.ts) | ![paths with holes](./output/paths-hole.png) | path with a hole (counter-shape) |
| [`paths`](./src/paths.ts) | ![paths](./output/paths.png) | different types of path drawings |
| [`svg-export`](./src/svg-export.ts) | ![svg export](./output/svg-export.png) | convert Canvas drawing to an SVG file |
| [`svg-to-canvas`](svg-to-canvas.ts) | ![svg to canvas](./output/svg-to-canvas.png) | parse SVG file and draw on Canvas |