
Liquid Glass Controls (Dark)
DarkRefractive buttons, segmented lenses, toggles, steppers, and sliders composited directly over optical wallpaper.
Try Live in Studio →Pixel-identical macOS, iOS, Android, Linux, Windows, and browser WebGL2 rendering from 47 pure Pion packages. iOS 27 optical Liquid Glass, zero DOM widgets, zero GC pauses.
Every figure below is measured on the full Liquid Glass Studio compiled with self-hosted pionc2 (P34-C + P35-A/B) --release --target wasm32 and wasm-opt -Oz.
| Metric | Invar (Pure Pion wasm32) | Native GPU Toolkits (C++ / Rust) | Traditional React / Web |
|---|---|---|---|
| Total Transfer (Studio) | 388.0 KB brotli / 518.7 KB gzip | N/A (native binary only) | 1.5 - 4.0 MB+ gzip |
| Rendering Pipeline | 6-host GPU SDF (Metal · GLES3 · D3D11 · WebGL2) | Platform-specific backends | DOM + CSS + Layout Thrash |
| Memory & GC | Pure-Wasm slab + linear memory / 0 GC pauses | Manual / native allocator | 60 - 150 MB+ / JS GC |
| Toolchain | Zero-LLVM pionc2 (4.86 s cold / 4.09 s incr) | LLVM / Cargo / CMake | Node + Bundler + TypeScript |
Retina GPU captures from the same pure Pion scene encoder running across 6 native hosts and WebGL2 Studio.

Refractive buttons, segmented lenses, toggles, steppers, and sliders composited directly over optical wallpaper.
Try Live in Studio →
Adaptive light-mode glass dispersion, specular rim highlights, and high-contrast ink tokens.
Try Live in Studio →
Adjacent liquid droplets fuse across a continuous capillary bridge evaluated per pixel in the glass shader.
Try Live in Studio →
Interactive magnifying loupe with bezel refraction, edge chromatic dispersion, and live cursor tracking.
Try Live in Studio →Zero virtual DOM diffing. Each view node is created once and bound directly to fine-grained signals.
Alien-signals reactive graph, deterministic one-way flexbox layout, spring motion as data, and per-frame damage rect tracking.
Flat 60-Double instanced GPU scene buffer, analytical SDF rounded corners and vector paths, glyph atlas packing, and offscreen film capture.
Shared shader math across macOS, iOS, Android, Linux, Windows, and zero-copy browser WebGL2 wasm32 across 47 pure Pion packages.
Write once in pure Pion, compile straight to wasm32 without LLVM, and ship a single static folder.
import "host_web"
import "lg"
import "lg_pages"
import "ui"
fn main() -> Unit {
host_web::install()
lg::set_dark(Some(true))
ui::run(
"Liquid Glass Studio",
fn(root) {
lg_pages::gallery(root, "library", chrome=true)
},
theme=lg::ui_theme,
)
}
# 1. Compile Liquid Glass Studio to wasm32
pionc2 build --release --target wasm32 \
-o web/lg_web.wasm packages/lg_web
# 2. Shrink binary with wasm-opt -Oz
wasm-opt -Oz --enable-bulk-memory \
web/lg_web.wasm -o web/lg_web.oz.wasm
# 3. Build & run Pure Pion SSG (< 10 ms)
pionc2 build -o out/site packages/site
./out/site site_dist