gallery

command module
v0.0.0-...-6fe9f5e Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 37 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 (default since gogpu v0.43.0). 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