Skip to main content
Annual billing

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

Save

Golden Temple

A Japanese temple complex at golden hour, every roof tile made in code

Source on GitHub

By Leon (Leonxlnx). 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.

About this scene

A five-storey pagoda, a vermilion arched bridge and a gilded main hall stand around a lotus pond at golden hour, with maples, pines, koi, lanterns and wind bells. There are no models, textures or HDRIs in the project: about 31,000 lines of JavaScript build 24 million triangles when the page loads, from the bracket sets under the eaves to the dew on the lotus. Drag to orbit; keys 1 to 0 play the ten shots of its film.

How it is built

  1. 01

    Start from one detail

    Every shot opens on a close-up (a lantern, a lotus, a gilt finial, a wind bell) and pulls back, so each object had to hold up at macro distance.

  2. 02

    Architecture as grammar

    Halls, the pagoda and the gate are assembled from rules for posts, brackets, rafters and tiles rather than modelled by hand.

  3. 03

    Light at golden hour

    A low sun, warm haze and a mirror-still pond carry the mood; the same scene runs live in the browser at preview quality.

Questions

Who made this?
Leon (Leonxlnx on GitHub), released under the MIT licence. ThreeJS.net hosts a build of the source with its licence, unmodified apart from a small embed script. The film music is not part of the project.
Why does it take a while to appear?
The whole temple, about 24 million triangles, is generated in the browser when the page opens. It needs a capable GPU.

More examples