https://github.com/cdaein/pts-demo-with-canvas-sketch
pts.js demo recreated with canvas-sketch
https://github.com/cdaein/pts-demo-with-canvas-sketch
Last synced: 18 days ago
JSON representation
pts.js demo recreated with canvas-sketch
- Host: GitHub
- URL: https://github.com/cdaein/pts-demo-with-canvas-sketch
- Owner: cdaein
- License: apache-2.0
- Created: 2022-06-11T18:39:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T04:09:53.000Z (6 months ago)
- Last Synced: 2025-03-30T22:13:35.867Z (about 2 months ago)
- Language: JavaScript
- Size: 275 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pts.js demo sketches with canvas-sketch
This repo recreates `pts.js` [official demo sketches](https://ptsjs.org/demo/?name=pts.quickStart) with `canvas-sketch` and its supplied Canvas/context. As I am using the existing canvas, there is no `CanvasSpace`, only `CanvasForm` is used. I added a few new variables that replace `CanvasSpace` properties such as `space.pointer`, `space.innerBound` and etc.
## Why
I like `canvas-sketch` for its many helpful tools such as image/video export and git-based sketch snapshots. `pts.js` seems like it can be a good companion with its highly modular structure and a very light weight.