Babylon Lite — Scene Gallery

WebGPU rendering engine · pixel-perfect parity with Babylon.js

🏗️ Architecture Overview

Loading documentation…

📊 Babylon Lite vs Babylon.js — At a Glance

Averages computed from live benchmarks across all test scenes. Data from bundle/manifest.json and perf-manifest.json.

📋 Per-Scene Breakdown

Scene Bundle (Lite) Bundle (BJS) Ratio RAF ms (Lite) RAF ms (BJS) Speedup Memory (Lite) Memory (BJS) Savings
💡 Live scenes served from Vite dev server. Start with: pnpm dev
💡 Standalone showcase demos built on Babylon Lite — pure Lite, no Babylon.js comparison. Each is production-bundled so its real shipped size is advertised. Regenerate sizes with pnpm build:bundle-demos.
Output

            
💡 Compares golden reference (Babylon.js) vs Lite render from last pnpm test:parity run. MAD thresholds from scene-config.json; exceeding shown in red.
Output

            
💡 The same Babylon.js source (lite/src/bjs/sceneN.ts) rendered live through the @babylonjs/lite-compat layer — no code changes, just Vite-remapped @babylonjs/core imports. Opt scenes in with "compatParity": true in scene-config.json. A red border means the scene hit an unsupported API (LiteCompatError) — that's a concrete TODO for the compat layer.
💡 Bundle sizes shown below come from manifest.json. Deltas compare against master via master-manifest.json. To regenerate: pnpm build:bundle-scenes
Output

            
💡 RAF callback CPU time per scene, measured via Playwright. Run pnpm test:perf to refresh.
Output

            
Babylon Lite Babylon.js ● = winner
💡 Current Babylon-Lite vs upstream-Lite baseline (per-scene RAF frame time). Run pnpm test:perf-regression to refresh.
Output

            
● regression > limit ● slower (within limit) ● faster

📘 Babylon Lite — API Reference

💡 TypeDoc-generated API reference for the public babylon-lite surface (every symbol exported from index.ts). Enforced by pnpm docs:check; generate locally with pnpm docs.

            
        

Bundle Files