BLR / browser lab

Experimental · runs locally in your browser

Write Rust.
See Blender geometry.

Edit a Rust or Python example, then run it through Blender 5.2.0 and blr. Edit the result in Blender's browser workspace or switch to the selectable GLB preview.

Explore the finished examples

01 / Browser playground

Build a scene

Rust + Python · Blender 5.2.0

Rust source

Drafts save per example and language in this browser

Each language keeps its own draft.

Tab inserts spaces. Press Escape to move to Run. Ctrl/⌘ + Enter runs the current source.

Loading examples and checking browser isolation…

Blender workspace and mesh preview

Choose the editable Blender UI or the GLB preview

Waiting for a run
Checking browser support. GLB preview is ready while the check runs.

Your Blender-created mesh will appear here.

Browser-hosted Blender 5.2 workspace
Objects
—
Vertices
—
Triangles
—
Blender
—

02 / Run log

Compile and runtime diagnostics

Preparing
  1. 1Rust compile
  2. 2Blender run
  3. 3Mesh preview
Examples and runtime status will appear here.

03 / What this is

Rust in.
Blender out.

Rust examples compile to bounded scene commands. Python examples execute in Blender's embedded Python runtime with access to bpy and the current scene. A successful Rust or Python run replaces the previous generated scene; separately created Blender objects remain outside that lease. Canceling a dispatched Python run closes Blender because Python code cannot be safely interrupted. Snapshot / Update GLB exports the generated objects. The preserved headless path also creates GLB previews.

Programs use the visible blr_demo.rs helper, which supports six primitive kinds, transforms, tint metadata and up to 64 objects. It uses Rust's bundled standard library, not private native blr sources or arbitrary Cargo dependencies. Blender's Workbench viewport uses gray Solid shading; the GLB snapshot turns tint metadata into browser materials. These views do not provide EEVEE or Cycles rendering. Compiler and Blender assets load only after you start the editor or run a program.