gallery

command module
v0.0.0-...-a780244 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Example: gogpu/ui -- Widget Gallery

A comprehensive showcase of ALL gogpu/ui widgets in a scrollable window. Think "Storybook" for gogpu/ui: every widget variant, state, and configuration is demonstrated in a single application.

Supports theme switching: Material 3 (4 seed colors) and DevTools (dark/light).

Architecture:

ui widgets -> render.Canvas (gg) -> ggcanvas -> GPU surface (zero-copy)

Rendering: event-driven (ContinuousRender=false). 0% CPU when idle. Redraws only on user interaction.

Requirements:

gogpu v0.23.2+
gg v0.36.4+

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL