Go to file
Orion Reed efd286747b use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
.github/workflows use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
.vscode use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
demo use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
src cleanup and error handling 2024-12-02 00:04:54 -05:00
.gitignore use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
.prettierrc semantic zoom demo 2024-11-03 20:00:08 -08:00
LICENSE Initial commit 2024-08-09 22:21:23 -07:00
README.md use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
package.json use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
tsconfig.json use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00
vite.config.ts use bun (npm should work fine too) 2024-12-02 01:15:50 -05:00

README.md

Folk Canvas

Explorations

  • What would it look like if the browser had primitives for building spatial canvases?
  • How easily can we turn a document into a canvas?
  • Can we incrementally change ownership and control of the web from single-origin server to the user?
  • How can someone more easily annotate and re-layout web pages they did not make?
  • How can we more easily compose and connect web pages and their data?
    • How can we compose together live and visual programming notations?
  • Can we have lightweight visual and live scripting for web pages?

Development

  1. Install Bun
bun i
# then
bun dev

Primitives

  • <folk-shape>: Manipulate HTML elements in space.
  • <folk-ink>: Draw lines of ink.
  • <folk-arrow>: Define connection between HTML elements.
  • <folk-canvas>: Control a camera (panning/zoom) and query elements in space