A NEW DIMENSION OF MOTE-ENGINE V0.42.0

Worlds beyond
the screen.

From a spark of an idea to a world you can step inside. A 3D engine for the expressive web. And the intelligence learning to see it.

Explore the engine
SCROLL TO DISCOVER
MOTE-ENGINE 0.42.0 · RECORDED

02 — SAME WORLD. NEW EXPRESSION.

One scene.
Four ways to draw it.

Surfaces become a field of moving characters. Expressive by design, and ready for browsers without WebGPU.

scene.setMode("ascii")One scene. A new way to see it.

SCROLL TO CHANGE PERSPECTIVE ↓ASCII / STUDIO RECORDING
Glass sphere under studio lighting

03 — THE MATERIAL COLLECTION

Materials that
behave like matter.

IOR 1.5. A hint of green through its depth.

512

maximum samples per pixel when the scene holds still

Auto

adaptive quality adjusts to the available GPU budget

0 deps

one engine, WebGPU rendering and an ASCII fallback

SCROLL TO EXPLORE THE COLLECTION ↓RAY / STUDIO CAPTURE

04 — ONE SCENE API · SINCE 0.38

One scene.
Your renderer.

createScene() draws the same objects, lights and effects in ASCII, Wireframe, Ray, or a renderer you write. Hand it a renderer plugin with mode: "custom" and switch back and forth with setMode().

The Toon look on this page is one of those plugins. And smoke in Ray is now a real 3D volume: objects hide it, it hides them, and the camera can fly straight through.

MODE CUSTOM / YOUR RENDERER
import { createScene } from "mote-engine";
import { toon } from "./toon.js";

const scene = createScene(canvas, {
  mode: "custom", renderer: toon,
  stages: [{ items: [knot, ring] }]
});

scene.setMode("ray");            // same world
scene.setMode("custom", "toon"); // your look
Read what changed in 0.38 ↗
RENDERER PLUGIN / TOONMODE: "CUSTOM"
A copper knot between a grey sphere and a pale ring, drawn with inked outlines and flat bands of light by the Toon renderer plugin.
Same scene. Same API. Your shaders.

A breaking rename: the old names are gone, and TypeScript points at each use. The manual has the full table, old name to new.

createScene()
One function for every renderer. Was createAsciiScene().
mode: "custom"
Your renderer plugin, by id or object.
glyphRenderer
What draws ASCII’s characters. Was renderer.

ALSO IN 0.38Smoke in Ray is a 3D volumeA finer starburst for the natural lens flareMirrors reflect again in Chrome on Apple GPUs

05 — CUSTOM SHADERS · SINCE 0.37

Write the surface.
Grow the fur.

Bring your own shaders. The api: 1 contract for volumes, lights, post passes, layers and lenses is now stable, and validateRayManifest() checks a manifest before it ever meets a GPU.

New, as a candidate: the surface part. Ray grows shells over your object and a few lines of WGSL decide where each strand stands and what colour it takes. No textures. Soft shadows included.

SURFACE PART / RAY
// Ray grows 24 shells over the item.
{ kind: "surface", name: "fur",
  item: "creature", fn: "strands",
  shells: 24, length: 0.16, gravity: 0.35 }

// Your WGSL decides every strand.
fn strands(s: FxSurfaceIn, c: FxCtx)
  -> FxSurfaceOut { … }
Read the custom shader guide ↗
SURFACE PART / FURRAY / RECORDED IN 0.38.0

Recorded frame by frame in Ray. Coverage, colour and occlusion come from WGSL; shadows see an engine-made stand-in.

api: 1
Stable for volume, light, post, layer and lens.
validateRayManifest()
Check a manifest on the CPU, no GPU needed.
surface
Candidate kind. Shells over one item, in Ray.

ALSO IN 0.37ASCII keeps scaled-up objects denseRay settings rebuild without a freezeHeat haze, scanlines and glitch on the GPU

06 — WHAT WILL YOU BUILD?

A little engine.
Some big ideas.

A product to explore. An idea to play with. A world to learn from. Here are six places you could take mote-engine.

BRANDS & CAMPAIGNS

Make your next
launch move.

Let a visitor’s scroll reveal a product, change its surroundings or unfold a story. Turn a campaign page into an experience they can explore.

Think: an interactive product launch.

Explore the opening scene
COMMERCE & PRODUCT DESIGN

Let them find
their finish.

Build a configurator for jewellery, furniture or a new device. Let people compare glass, metals and colours in the same light, from their own point of view.

Think: a watch with six material options.

Explore the material collection
APPS & PLAYFUL EXPERIENCES

Give interaction
some character.

Make a mascot react, a reward burst into confetti or a small browser game feel tactile. Combine illustrated rendering, live effects and physical motion.

Think: a playful onboarding moment.

Explore the effects ↗
EDUCATION & EXPLAINERS

Make the idea
click.

Let students change gravity, move a joint or drop an object. Build a virtual lab where trying something is part of understanding how it works.

Think: the same experiment on Earth and the Moon.

Step into the physics lab
COMPUTER VISION

Build the world
your model sees.

Generate controlled variations of an inspection scene. Change lighting, materials and camera angles, then capture images and scene data for your training or evaluation pipeline.

Think: testing recognition under unfamiliar lighting.

View captured variations
ROBOTICS & PHYSICAL AI

A place to practise.
And try again.

Prototype a balance, articulation or navigation task. Drive joints, read virtual LiDAR and replay a starting state. Connect actions, observations and rewards to your own learning loop.

Think: an agent learning to balance a mechanism.

Explore the training API
YOUR IDEA. YOUR STACK. ONE ENGINE.Find your starting point

07 — TAKE CREATIVE CONTROL

Your light.
Your point of view.

MATERIAL STUDY / 001RAY TRACING / STUDIO

Hybrid WebGPU ray tracing brings physical materials, reflections and soft shadows into the browser. Hold a scene still for path-traced refinement.

Explore the effects ↗

08 — SHAPE THE UNEXPECTED

Reality, with
a playful twist.

EFFECT / JELLYTOON / STUDIO RECORDING

Waves travel through the mesh. A solid form becomes something wonderfully elastic.

Choose an effect to see its recorded motion in the Toon renderer.

Explore the full effects library ↗

09 — A WORLD WITH CONSEQUENCES

Give it weight.
Let it learn.

Objects that collide. Sensors that see. Joints that respond.
A physical world you can control, measure and put to work.

PHYSICAL WORLD LABPHYSICS / STUDIO RECORDING
9 DYNAMIC BODIES / GRAVITY 9.81 m/s²

One impulse.
Three worlds.

Choose the gravity, then replay the same impulse. Watch how high the balls rise and how long they take to fall.

Read the physics API ↗

BUILT FOR YOUR TRAINING LOOP

Control the world.
From code.

Run the physics API headlessly in Node.js or in the browser. Add bodies, drive joints, query sensors and restore a snapshot. Combine physical state with image capture for your own learning pipeline.

The downloadable adapter defines reset, action, observation and reward using the public physics API. Training and policy optimization stay in your stack.

PUBLIC PHYSICS API / JAVASCRIPT
import { createPhysicsWorld }
  from "mote-engine/physics";

const world = createPhysicsWorld({
  jointSolver: "chain"
});
// Add bodies and hinges to your world.
const checkpoint = world.snapshot();

joint.setDriveTarget(action[0]);
world.step(1 / 60);
world.raycastBatch(origin, rays, 4, distances);

const observation = [joint.angle,
  joint.angularVelocity, joint.torque];
world.restore(checkpoint);
FIXED STEPS · SENSORS · SNAPSHOT / RESTORE

10 — VIRTUAL ENVIRONMENTS

Before AI sees the world.
Build it one.

Create controlled scenes for computer vision experiments. Vary the light, materials and viewpoint. Capture an image. Repeat with the same scene.

SYNTHETIC VISION LABRAY / CAPTURED FRAME
An inspection scene recorded with seed 42
CAM_01 / INSPECTIONSEED 0042

YOUR NEXT TRAINING GROUND

A new world.
One seed away.

Compare three captured inspection scenes. Each seed changes the arrangement, lighting and camera.

Scene
Object inspection
Objects
9 / procedural
Output
Captured RGB frame

01 / SIMULATE

A world that moves.

Rigid bodies, hinge chains, position drives and friction. Build articulated mechanisms with the engine’s physics APIs.

02 / OBSERVE

More than a camera.

Batch raycasts for LiDAR-style sweeps. Draw sensor rays and hit points directly in the scene with 3D debug primitives.

03 / REPEAT

Keep the conditions.

Scene JSON, fixed-clock capture and physics snapshots give your experiments a reproducible starting point.

An environment for your vision workflow. Model training, dataset annotation and sim-to-real validation belong to your own pipeline.

11 — FROM IDEA TO INTERACTION

Less setup.
More possibility.

A canvas. A scene. Your imagination.
Embed mote-engine in your own stack and make the browser your creative medium.

Read the documentation
your-next-world.ts
import { createScene, torusKnot,
  materials } from "mote-engine";

const world = createScene(canvas, {
  mode: "ray",
  stages: [{ items: [{
    source: torusKnot(2, 3),
    material: materials.copper,
    motion: "tumble"
  }] }],
  lights: [{ kind: "environment",
    preset: "studio" }]
});

WHAT WILL YOU BRING TO LIFE?

Your world.
Starts here.↗

mote-engine 0.42.0
Built for the web. Ready for your next idea.