Building HTML Canvases

Author a PostHog canvas with semantic HTML, CSS, and direct browser APIs — documents, articles, generative graphics, 2D canvas and WebGL experiences, and focused experiments where React components add no useful structure. Use after building-canvases has routed a canvas request to a plain-HTML/browser-API implementation. Covers the thin component wrapper the current runtime requires, styling and theming without Quill, drawing surfaces, and animation/cleanup patterns.

posthog b6ff60d 4.2 KB Updated

File contents

posthog/ai-plugin/tree/main/skills/building-html-canvases commit b6ff60d137

Frequently asked questions

npx skillmds add posthog/building-html-canvases