30 lines
967 B
Markdown
30 lines
967 B
Markdown
# 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 [Deno](https://docs.deno.com/runtime/getting_started/installation/)
|
|
|
|
```bash
|
|
deno i
|
|
# then
|
|
deno task dev
|
|
```
|
|
All config is in `deno.json`.
|
|
|
|
## Primitives
|
|
|
|
- `<fc-geometry>`: Manipulate HTML elements in space.
|
|
- `<fc-ink>`: Draw lines of ink.
|
|
- `<fc-arrow>`: Define connection between HTML elements.
|
|
- `<fc-canvas>`: Control a camera (panning/zoom) and query elements in space
|