Skip to main content
Annual billing

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

Save

Littlest Tokyo

A tiny animated Tokyo street corner

Source on GitHub

By three.js authors. Open source under the MIT licence; hosted here with its licence, unmodified apart from a small script that lets ThreeJS.net embed it. The prompt below is our description of the work, not the author's. Third-party material: “Littlest Tokyo” model by Glen Fox, CC BY 4.0..

About this scene

A miniature Tokyo building: shops, signs, a tram, plants and a cat on the roof, all animated in a loop with keyframes. A famous three.js example that shows a detailed glTF model with its animation. Drag to turn the diorama.

How it is built

  1. 01

    One detailed model

    The whole street corner is a single compressed glTF file with its own animation.

  2. 02

    Life in a loop

    Keyframes move the tram, fans, signs and the cat, so the diorama never stands still.

  3. 03

    Diorama framing

    Seen from slightly above, the building reads like a toy you can turn in your hands.

Questions

Who made this?
It is an official three.js example (webgl_animation_keyframes), made by the three.js authors and released under the MIT licence with the library. ThreeJS.net hosts a copy of the page with a small embed script; its textures and models load from the three.js repository at release r187.

More examples