Skip to main content
JavaScript · React · Shapes · Shared surfaces · Agent instructions

Use it

Follow the quickstart to load WASM, mount a lens and supply pixels. In React, use Glass with children; for many lenses, use one GlassSurface. Your host owns the content and placement.

Use it with an agent

Give your agent the package’s skills/glassen/SKILL.md, or link the agent guide. It covers source adapters, instancing, cleanup and which integrations are supported.

Compose it

SVG paths and masks · Images, DOM and GPU textures · Nested scenes Rust supplies geometry and spring motion; WebGL 2 renders the refraction. The nested scene adds rigid-body physics. See performance and porting for measured limits and native integration status.