World model · December 2026

TinyRealm

Fly through four worlds that a 45M model imagines frame by frame, live in your browser. No game engine: every pixel comes from the model.

  • 45M parameters
  • 4 worlds, one model
  • About 20 frames a second in Chrome

Fly it

Pick any of the four worlds and press Play. The model downloads once and runs on your own GPU, and the keys are yours.

You steer. The model dreams the next frame.

Each picture is predicted from the last few frames and the key you are holding. There are no 3D models, no map and no physics inside. Pick any of the four worlds below and fly it. Fly into a wall and the model decides what happens.

  • ~20 fps

    in Chrome on a Mac mini (M6), WebGPU

  • 256 × 256

    pixels, 3 small steps a frame

  • 92 MB

    the whole model, one file

  • 0

    game engines at runtime

ControlsW A S Dor arrows · steer and climbSpaceboostRstart again1–4change world
A frame of Red-Rock Canyon, made by TinyRealm
Red-Rock Canyon · key 1
A frame of Neon Skyway, made by TinyRealm
Neon Skyway · key 2
A frame of Aurora Fjord, made by TinyRealm
Aurora Fjord · key 3
A frame of Volcanic Trench, made by TinyRealm
Volcanic Trench · key 4

Hear about new Udgam Labs releases first

Subscribers get an email about each new release before we announce it anywhere else. Free, no spam.

We’ll email you updates from Udgam Labs and see which ones you open and click. Unsubscribe anytime. Privacy

Nothing here is drawn

Top: frames from the real 3D worlds we built to train it. Bottom: what TinyRealm imagined, given only the first frames and the same keys. It keeps the look of each world, though its path drifts from the real one over time.
Red-Rock Canyon

The real 3D scene

Six frames of Red-Rock Canyon from the real 3D scene, frames 1 to 128

TinyRealm, from the same start and the same 128 key presses

The same six frames of Red-Rock Canyon as TinyRealm imagined them
frame 1frame 16frame 32frame 64frame 96frame 128
Neon Skyway

The real 3D scene

Six frames of Neon Skyway from the real 3D scene, frames 1 to 128

TinyRealm, from the same start and the same 128 key presses

The same six frames of Neon Skyway as TinyRealm imagined them
frame 1frame 16frame 32frame 64frame 96frame 128
Aurora Fjord

The real 3D scene

Six frames of Aurora Fjord from the real 3D scene, frames 1 to 128

TinyRealm, from the same start and the same 128 key presses

The same six frames of Aurora Fjord as TinyRealm imagined them
frame 1frame 16frame 32frame 64frame 96frame 128
Volcanic Trench

The real 3D scene

Six frames of Volcanic Trench from the real 3D scene, frames 1 to 128

TinyRealm, from the same start and the same 128 key presses

The same six frames of Volcanic Trench as TinyRealm imagined them
frame 1frame 16frame 32frame 64frame 96frame 128

How it works

One loop, run on your own graphics chip through WebGPU.
  1. 1

    You press a key

    W, A, S, D, Space, or nothing.

  2. 2

    The model predicts

    A 44.9M transformer guesses the next frame in a compressed form, from the last frames and your key.

  3. 3

    A tiny decoder paints it

    A 0.68M decoder turns it into a 256 × 256 picture.

  4. 4

    Again, about 20 times a second

    The new frame joins the memory and the loop repeats.

Trained on 620,800 frames flown through four worlds we built ourselves, about 4 hours on one GPU. No outside video, so the weights can be Apache-2.0.

Does it obey your keys?

A separate checker model watches each pair of frames and guesses which key was pressed. If the model ignored you, the checker would be stuck near the shuffled-keys score.
Keys the checker got right over 128 frames (%)Dark bar: TinyRealm · grey bar: the real 3D scene, same checker · higher is better
Keys the checker got right over 128 frames (%)
TestTinyRealmThe real 3D scene
Red-Rock Canyon90.994.2
Neon Skyway91.293.9
Aurora Fjord91.794.7
Volcanic Trench91.294.3

Held-out flights in all four worlds, 1 Dec 2026, released model, our checker (inverse dynamics model).

How it compares

Other world models you can steer, from their own papers and model cards. The big ones run on data-centre chips and stream to you. A few small ones, TinyRealm among them, run on your own graphics chip inside the browser, with no server.
Steerable world models compared, as published by each maker
ModelMade bySizePictureRuns onOpen weights
TinyRealm-45MUdgam Labs45M256 × 256, ~20 fps (M6)Your browser (WebGPU)Yes, Apache-2.0
Genie 3Google DeepMindnot published720p, 24 fpsGoogle’s serversNo
Oasis 500MDecart and Etched500M360p, 20 fps (H100)Data-centre GPUYes, MIT
GameNGenGooglenot published320 × 240, 20 fps (TPU)Data-centre chipNo
DIAMOND (CS:GO)Alonso et al.381Mlow-res + upsampler, ~10 fpsGaming GPU (RTX 3090)Yes, MIT
Matrix-Game 2.0Skywork1.8B352 × 640, 25 fps (H100)Data-centre GPUYes, MIT
micro-doom-worldkulikov039M + 7M128 × 96Your browser (WebGPU)Yes, MIT
Neural Drive βcodelion131M + decoder384 × 192Your browser (WebGPU)Weights, custom licence
Dream Engineteshnizi26.8M64 × 64, ~28 fps (M4)Your browser (WebGPU)Yes, MIT

As published by each maker, read 1 Dec 2026; each name links to its source. Sizes and speeds are not like for like: different worlds, steps and hardware. TinyRealm’s speed was measured in Chrome on a Mac mini (Apple M6).

Where it falls short

Use it

Quick start: one frame in JavaScript

Loop it: draw each frame, feed the memory back, and read the keys for the next action.

// In a browser module, in Chrome or Edge with WebGPU
import * as ort from 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.30.0/dist/ort.webgpu.min.mjs'

const hf = 'https://huggingface.co/udgamlabs/TinyRealm-45M/resolve/main/'
const model = await ort.InferenceSession.create(hf + 'pocketworld_s1_4worlds_256_fp16.onnx', { executionProviders: ['webgpu'] })

// A world's starting memory: keys, then values (float16, each [12, 1, 8, 1040, 64]). b1 is Neon Skyway.
const kv = new Float16Array(await (await fetch(hf + 'seed_s1_b1_kv.f16')).arrayBuffer())
const dims = [12, 1, 8, 1040, 64], half = kv.length / 2
let k = new ort.Tensor('float16', kv.slice(0, half), dims)
let v = new ort.Tensor('float16', kv.slice(half), dims)

// One frame. The action is [steer, pitch, throttle, boost, strafe]: here, ahead and a little to the right.
const randn = () => Math.sqrt(-2 * Math.log(1 - Math.random())) * Math.cos(2 * Math.PI * Math.random())
const out = await model.run({
  noise: new ort.Tensor('float16', Float16Array.from({ length: 32 * 16 * 16 }, randn), [1, 32, 16, 16]),
  action: new ort.Tensor('float16', Float16Array.of(0.4, 0, 0.85, 0, 0), [1, 5]),
  k_cache: k, v_cache: v,
})
const rgb = await out.rgb.getData()  // 3 × 256 × 256 values, 0–255: draw it, then
k = out.next_k; v = out.next_v       // feed the memory back for the next frame