100% Pure Pion 6 Hosts: Metal · GLES3 · D3D11 · WebGL2 47 Pure Pion Packages

GPU-First UI & Liquid Glass, in 100% Pure Pion

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.

Invar Liquid Glass Studio rendered in dark mode Invar Liquid Glass Studio rendered in light mode
Measured Benchmarks

Real wasm32 footprint and 6-host compiler numbers

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.

388 KB
Brotli-11 Total Transfer
518.7 KB gzip including WebGL2 host (304.2 KB brotli / 420.3 KB gzip for 1.58 MB lg_web.oz.wasm).
-63.1%
Native Binary Slimming
packages/bench shrank from 22.22 MB to 8.20 MB with P35-B dead-stripping & Mach-O subsections.
4.09 s
Incremental Wasm32 Build
4.86 s cold / 4.09 s incremental with zero-LLVM pionc2 CAS across 47 pure Pion packages.
0 GC Pauses
Pure-Wasm Slab & Linear Memory
P35-A in-Wasm slab allocator and biased reference counting in linear memory with zero JS GC stalls.
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
Liquid Glass Showcase

Optical refraction, capillary merge, and clear lenses

Retina GPU captures from the same pure Pion scene encoder running across 6 native hosts and WebGL2 Studio.

Liquid Glass Controls in dark mode

Liquid Glass Controls (Dark)

Dark

Refractive buttons, segmented lenses, toggles, steppers, and sliders composited directly over optical wallpaper.

Try Live in Studio →
Liquid Glass Controls in light mode

Liquid Glass Controls (Light)

Light

Adaptive light-mode glass dispersion, specular rim highlights, and high-contrast ink tokens.

Try Live in Studio →
360-degree capillary liquid glass merge

360° Capillary Liquid Merge

Smooth-Min SDF

Adjacent liquid droplets fuse across a continuous capillary bridge evaluated per pixel in the glass shader.

Try Live in Studio →
1.5x clear lens optical loupe

1.5× Clear Lens Optical Loupe

Refraction

Interactive magnifying loupe with bezel refraction, edge chromatic dispersion, and live cursor tracking.

Try Live in Studio →
Architecture

Three clean layers from signals to GPU shaders

Zero virtual DOM diffing. Each view node is created once and bound directly to fine-grained signals.

01 / REACTIVE & LAYOUT

Core Reactive & Layout

Alien-signals reactive graph, deterministic one-way flexbox layout, spring motion as data, and per-frame damage rect tracking.

signalsflexviewmotiondamage
02 / SCENE & VECTOR

GPU Scene & Vector Engine

Flat 60-Double instanced GPU scene buffer, analytical SDF rounded corners and vector paths, glyph atlas packing, and offscreen film capture.

paintuiskiafilm
03 / HOSTS & GLASS

6 Native & WebGL2 Hosts

Shared shader math across macOS, iOS, Android, Linux, Windows, and zero-copy browser WebGL2 wasm32 across 47 pure Pion packages.

host (6 targets)host_web (WebGL2)lg47 pkgs
Quick Start

Compile a Liquid Glass app to WebGL2 in seconds

Write once in pure Pion, compile straight to wasm32 without LLVM, and ship a single static folder.

packages/lg_web/src/main.pionPion
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,
  )
}
Build & Generate Static SiteShell
# 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