1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-22 08:13:51 +02:00
Files
BezierInfo-2/docs/news/03-draft.md
2020-09-25 15:44:14 -07:00

17 lines
490 B
Markdown

# HTML custom elements and reinventing Processing.js
- `<graphics-element>`
- BaseAPI + GraphicsAPI
- `<fallback-image>
- generate snapshot of first frame
- canvas in Node!
- image filename hashed based on file-content
- store in images/chapter/... or images/news/...
- lazy loading for if there is no JS
- if JS, IntersectionObserver on the graphics element
- Styling: `:defined` to the rescue
- Why not `extends HTMLCanvasElement`?
- node + browser