Skip to main content
Annual billing

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

Save

Dragon of a Thousand Peaks

A 90-second dragon film in one 1.6 MB HTML file, with its own score

Dragon of a Thousand Peaks preview
Source on GitHub

By Beyond Dev (0xCodez), made with Claude Fable 5.2. 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 red loong bursts out of a turquoise lake, spirals around a temple peak, meets a golden rival above a sea of mist and fights it with fire against lightning, then the two dive into the lake, burst out again and part under a rainbow as hundreds of sky lanterns rise at dusk. Every mesh, texture, shader, particle and note of the erhu, guzheng, flute and drum score is generated by code when the page loads.

How it is built

  1. 01

    One key frame first

    The author had a single key frame approved before animating anything: the dragon sweeping past the temple peak at 10.3 s. The look of the whole film grew from that still.

  2. 02

    A beat sheet for 90 seconds

    Each beat names a time, an action and a camera: the rise from the lake, the face-off, the clash, the plunge, the storm, the rainbow and the lanterns at dusk.

  3. 03

    Everything from code

    Mountains, pagodas, ginkgo trees, clouds, water and both dragons are generated; the score is synthesised in workers, so the film needs nothing but its one HTML file.

Questions

Who made this?
Beyond Dev (0xCodez on GitHub), released under the MIT licence. ThreeJS.net hosts a copy with the licence, unmodified apart from a small embed script; the source is on GitHub.
Can my computer run it live?
It is heavy: the author measures 20 to 30 ms a frame at 1080p on a recent laptop GPU. The highlight video plays anywhere; the live version needs a dedicated or recent integrated GPU.

More examples