Interaction Tools

First-Person Walkthrough

What this shows

Click to lock the pointer, then use WASD and the mouse to explore a compact corridor.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

import * as EASEL from "@xsyetopz/easel";

const controls = new EASEL.FirstPersonControls(camera, renderer.domElement);
controls.movementSpeed = 3;
controls.lookSpeed = 0.0025;
controls.update(delta);