components/glasslab
Labs · 52 / 64

GlassLab

ui.widgets.GlassBox

A GlassBox optics bench: refraction, bezel width and magnification.

BEHAVIOR CONTRACT

warp_gain, bezel_width and magnification act live on one Metal sampling path.

RECORDED INTERACTION

The clip drags the glass to show the parameters.

View source on GitHubexamples/storybook/stories.zig:1782

The story's verbatim source from the Storybook (zenit 4c50245 2026-10-01). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · Dual-licensedFree for open-source projects under GPL-3.0-only; closed-source or commercial products need a commercial license.Contact the author: zongyi.xzy#gmail.com (replace # with @)zenit 4c50245 2026-10-01