Mirai

Lab

Experiments in light, motion, and data, built on the same code and design system as the rest of this site.

Light, refracted

THREE.JS · GLSL

Loading the 3D scene

Late light on a marble table.

A glass of water, a cut crystal, and a paper crane, by a window. Move the sun and the shadows and caustics follow. Switch to a single beam and the crystal splits it into a spectrum across the table.

Drag something to move it. Hold R and drag to turn it, or click the scene and use the arrow keys, Q, and E.

Arrange
Light

Exposure, warmth, caustics, and the strength of the spectrum.

Garden

THREE.JS

Loading the 3D scene

Explore the garden.

Three cherry trees in blossom on a clifftop above the clouds, a path, and grass that parts as you walk through it. The calligrapher writes in the sky at the end of the path.

Walk by clicking, with W A S D, or the arrow keys. Hold Shift to run. Drag to look around.

Camera

WEBGL2 · GLSL

A photo you can refocus.

A photo of a forest trail, re-focused through a simulated lens using a map of how far away everything is. Open the aperture and light through the leaves blooms into soft discs; stop down and they sharpen into blades.

Tap the photo to focus. Drag a dial or use the arrow keys.

Apertureƒ/2
Exposure0 EV
Focus1.7 m
White balance5500K
Auto shutter1/500Keeps exposure steady

Teacup

THREE.JS

Loading the 3D scene

No model file: spun on a lathe from two short curves. Drag to turn it.

Light
View

Easing editor

CSS CUBIC-BEZIER
Easing curve cubic-bezier(0.16, 1, 0.3, 1)

Ease-out

Things entering the screen: menus, modals, cards. Feels finished at 198 ms of 600.

Your curve Linear, for comparison

transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);

Every character counts

POST /v1/transform
10 / 280

Try , , or .

It runs as you type. Nothing is kept: the text exists only for the length of the request.

  1. 01Input 
  2. 02Validate 
  3. 03Transform 
  4. 04SHA-256 
  5. 05Response 

Output

Your text, transformed, comes back here.

In
– bytes
Out
– bytes
Characters
–
Work, on the server
– ms

SHA-256 of the output

Write something to get a real digest.

Your browser hashes the output again to check it.

Not run yet

{}

Search that waits

GET /v1/search

Try , , or .

Input changes
0
Requests sent
0
Cancelled
0

All 14 projects

The last three requests

  1.  
  2.  
  3.  

Building something?

Tell me about the project, or the role.