Skip to main content
Annual billing

ThreeJS.net annual plans cost about 50% less than 12 monthly payments

Save

The Paper Crane

A 36-second Three.js short film with its own music

The Paper Crane preview

About this scene

A folded paper crane carries a celadon teapot down a lantern market at dusk, glides low over a lake at sunset, climbs through a night of sky lanterns and sets the teapot down on a lotus. It opens and closes as a woodblock print. The picture and the music come from one note list: every plucked note lights a lantern, the flute shapes the steam, bells ripple the water and the drum nudges the camera. Nothing is downloaded but three.js; the score is synthesised in the browser.

How it is built

  1. 01

    Write the score first

    A pentatonic phrase is laid out bar by bar for five voices. The same list is rendered to audio in a worker and read by the scene every frame, so a note and its lantern can never drift apart.

  2. 02

    Shoot it like a film

    The crane follows one curve through the market, over the lake and up into the night. Time picks one of four shots; lighting, fog and sky are keyed along the timeline and eased between keys.

  3. 03

    Print the opening and the end

    A post pass maps each pixel to a small set of woodblock inks, draws ink lines from edges and adds paper grain. The colour blocks go down one by one at the start and the print is pressed back on at the end, finished with a red seal.

Questions

Is the music a recording?
No. It is generated in the browser from the same note list the animation reads: plucked strings, a flute, bells, a drum and a pad, mixed with a short reverb.
Can I record it with sound?
Yes. In the ThreeJS.net workspace the record button switches to film mode for this scene: it restarts the film and records all 36 seconds with the music to an MP4 or WebM file.
Can I make my own film?
Open it in the studio and ask for changes in plain words: another story, other places, other music. A scene that posts THREEJS_CONTROLS with the film capability and a duration gets the same film recorder.

More examples