v0.1.0-alpha
官网Home
components/glasslab
实验与能力验证Labs · 52 / 64

GlassLab

ui.widgets.GlassBox

GlassBox 光学参数实验台:折射、边缘宽度与放大。A GlassBox optics bench: refraction, bezel width and magnification.

BEHAVIOR CONTRACT

warp_gain、bezel_width、magnification 实时作用于同一 Metal 采样路径。warp_gain, bezel_width and magnification act live on one Metal sampling path.

RECORDED INTERACTION

录像拖动玻璃并观察参数效果。The clip drags the glass to show the parameters.

在 GitHub 查看源码View source on GitHubexamples/storybook/stories.zig:1782

这是 Storybook 中该 story 的原样代码(zenit 5f9add5+wip 2026-09-30)。其中 W 即 ui.widgets,col / row / label 是 Storybook 内的布局小工具。The story's verbatim source from the Storybook (zenit 5f9add5+wip 2026-09-30). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · 双授权Dual-licensed开源项目可按 GPL-3.0-only 免费使用;闭源或商业产品需要商业授权。Free 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 5f9add5+wip 2026-09-30