Canvas Element

This example demonstrates the canvas element for custom GPU drawing within the layout system.

Features demonstrated:

  • Custom 2D drawing with DrawContext
  • Canvas respects layout transforms and clipping
  • Procedural graphics (animated shapes, patterns)
  • Canvas for cursor/indicator rendering
  • BlincComponent derive macro for type-safe animation hooks

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