reactor-advanced

Installation
SKILL.md

Reactor Advanced

Use this skill when adding immediate-mode Win2D drawing through Microsoft.UI.Reactor.Advanced. The full guide is docs/guide/win2d-canvas.md; the performance sample is samples/apps/particle-storm/.

Pick the right canvas

Workload Use Why
Static or data-driven drawing that changes after state updates Win2DCanvas.Of(onDraw, redrawKey) Manual invalidation; pass a changing RedrawKey for every value the draw callback reads.
Game loop, physics, particles, visualizers, steady FPS Win2DAnimatedCanvas.Of(onUpdate, onDraw, drawState, isPaused) Win2D owns the tick and calls update/draw on the game thread.
Huge scrollable or tiled surfaces Win2DVirtualCanvas.Of(onRegionDraw, contentSize) Draws only invalidated visible regions; update tiles by changing InvalidateRegions.

Threading cheat sheet

Installs
2
GitHub Stars
726
First Seen
Oct 12, 2026