go-widgets/painter

Prototype — same widget code, WUI/GUI/TUI back-ends. This page runs the WUI path: PixelPainter writes an RGBA buffer, JS putImageDatas it into <canvas>.

The same Button / Label / ProgressBar also render as a PNG (go run ./cmd/wui-demo) and as ANSI in a terminal (go run ./cmd/tui-demo).

loading wasm…

go-widgets · source