Aspect ratio calculator / Susanoo and the Eight-Headed Serpent

Susanoo and the Eight-Headed Serpent

The Yamata no Orochi myth as a ukiyo-e style play in five acts. Free to download, copy or embed.

Bonus · 2026 series · All animations

Free to use, change and share under the MIT License. One file, no libraries, no sign-up.

What it is

A one-minute play in five acts, drawn with code in the manner of a Japanese woodblock print. It retells one of the oldest stories in Japan: how the storm god Susanoo defeated Yamata no Orochi, the serpent with eight heads and eight tails. A striped curtain opens on the River Hi, a narrator’s line appears under the stage, and you can pause, jump between acts and turn on sound.

It is the second play in the series, after The Lantern That Would Not Light, and uses the same 3:2 stage.

The story

  1. The chopstick. Cast out of heaven, Susanoo comes down to the River Hi in Izumo. A chopstick floats past, so he knows people live upstream.
  2. The weeping family. He finds an old couple, Ashinazuchi and Tenazuchi, weeping with their daughter Kushinada. The serpent has taken seven of their eight daughters, one each year, and it is coming for the last.
  3. Eight vats. Susanoo turns Kushinada into a comb and sets it in his hair. He has the couple brew sake refined eight times, build a fence with eight gates, and put a vat at each gate.
  4. Orochi. The serpent arrives, its eyes red as cherries and its back covered with moss and trees. Each head drinks from a vat until all eight are asleep. Susanoo draws his long sword, and the river runs red.
  5. The sword in the tail. His blade snaps on something inside the middle tail. It is a great sword, later called Kusanagi, which he presents to his sister, the sun goddess Amaterasu.

Where the story comes from

The tale is told in the Kojiki and the Nihon Shoki, Japan’s earliest chronicles, written in the early 700s. The sword found in the tail is counted among the three imperial regalia of Japan. This play follows the Kojiki account and shortens it. The narration is written for this piece, not quoted from a translation, and the fight is shown with sword strokes and a red river, without gore.

Details checked on November 16, 2026 against Wikipedia: Yamata no Orochi.

What you see on stage

ElementHow it is drawn
SusanooWhite robe, indigo trousers, wild black hair, a red headband, and from act three a comb in his hair
The old couple and KushinadaSmall bowed figures with white hair, and a girl in vermilion; their tears fall in act two
The fence and the vatsA wooden palisade with eight gaps, and eight tubs that appear one by one and are emptied
OrochiA hill-sized body with pine tufts on its back, eight necks that arch over the fence, red eyes that close when it sleeps, and tails to the right
The weatherSlanting rain and flashes of lightning while the serpent is on stage; the clouds part at the end

How to take it

Press Download the HTML file above to get susanoo-and-orochi-play.html, or press Copy the code and save it as a file ending in .html. It works offline.

View the code
Loading…

Embed it on your page

<iframe src="https://aspect.tools/orochi" style="border:0;width:100%;max-width:900px;aspect-ratio:900/930" title="Susanoo and the Eight-Headed Serpent, a ukiyo-e style play" loading="lazy"></iframe>

License and credit

MIT License. You can use it, change it, share it and sell things made with it, for personal or commercial work. The one condition: keep the copyright and license notice that is at the top of the file. The myth itself is in the public domain.
Susanoo and the Eight-Headed Serpent, 2026 series, by aspect.tools (https://aspect.tools/orochi-play), MIT License

A visible credit is appreciated but not required.

How to change it

What to changeWhereExample
The narration, or a translationthe ACTS list[0.40, 'A chopstick came floating...']
Title and endingTITLE, SUBTITLE, ENDvar TITLE = '...';
SpeedACT, the length of one act in secondsvar ACT = 13
Serpent coloursSNAKE and SNAKE2SNAKE = '#2f5a44'
When things happenthe pr(act, from, to) calls in drawpr(4, 0.52, 0.62) is when the heads fall asleep

Questions

What is Yamata no Orochi?

A giant serpent with eight heads and eight tails in Japanese myth, defeated by the storm god Susanoo.

Is the play faithful to the myth?

It follows the Kojiki account in shortened form: the chopstick, the weeping family, the comb, eight vats of sake, the sleeping serpent and the sword in the tail.

Is it suitable for children?

The fight is shown with sword strokes, lightning and a red river. There is no gore.

Can I translate the narration?

Yes. All the text is in the ACTS list and three title variables near the top of the script.

Can I use it on my own website or in a lesson?

Yes. It is under the MIT License. Keep the license notice inside the file.

Related tools and guides