Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Canvas Kit Interactive

Demonstrates blinc_canvas_kit features:

  • Pan (drag background) and zoom (scroll wheel) on an infinite canvas
  • kit.element() builder with auto-wired event handlers
  • kit.handler() for custom event wiring
  • Hit testing via kit.hit_rect() inside draw callbacks
  • Click, drag, and hover callbacks on canvas-drawn elements
  • Viewport state HUD overlay

Tip: Some demos are best viewed in a full browser window. Click “Open in a new tab” below for the full experience.

Open in a new tab · View source on GitHub