Aspect ratio calculator / Chichibu Night Festival in ASCII

Chichibu Night Festival in ASCII

A lantern-covered festival float drawn with text characters. Click it, and it answers.

ASCII · 2026 series · All animations

Click the sky for fireworks. Click the float or the people to cheer. Drag to turn. Free under the MIT License.

What it is

A festival float covered in paper lanterns, drawn only with text characters. The float, the people pulling its ropes, the lantern strings along the street and the watching crowd form a small 3D model that turns slowly, and every point of it is printed as a letter or a symbol: darker surfaces get light characters such as . and -, brighter ones get heavy characters such as # and @. Lanterns are drawn as O and @ with a soft glow. Snow falls and fireworks open behind the roof.

It reacts to you

What you doWhat happens
Click or tap the skyA firework goes up and bursts where you pointed
Click or tap the float, the rope pullers or the callersEveryone shouts “Ho-ryai!”, the lanterns flare, the float bounces, the pullers speed up and three fireworks go off
Drag left or rightThe whole scene turns, and keeps a little momentum when you let go
Press SoundTurns on a drum for the cheer and a low boom for each firework (off by default)

About the real festival

The Chichibu Night Festival (Chichibu Yomatsuri) is held on December 2 and 3 every year in Chichibu, Saitama Prefecture, northwest of Tokyo, around Chichibu Shrine. It is about 300 years old and is counted among Japan’s three great float festivals, together with Kyoto’s Gion Festival and the Takayama Festival. Six large floats, of the types called yatai and kasaboko, are decorated with many lanterns and pulled through the town at night while winter fireworks are launched. The hardest moment is hauling the floats up the steep Dango-zaka slope. The pullers chant “Ho-ryai! Ho-ryai!” in time with taiko drums.

An illustration, not a replica. The float here is a simplified yatai: wheels, a lacquered body with gilded carving, a stage with a rear curtain, a curved gable roof and rows of lanterns. It does not copy the carvings or curtains of any one real float, and text characters could not show them anyway.

Festival facts checked on November 16, 2026. Sources: Japan Travel and Kanpai Japan. Check official information before travelling.

How to take it

1. Download the file

Press Download the HTML file above. You get ascii-chichibu-night-festival.html. Open it in a browser, or upload it to your own site. It works offline too.

2. Copy the code

Press Copy the code, paste it into a new file, and save it with a name ending in .html.

View the code
Loading…

3. Embed it on your page

<iframe src="https://aspect.tools/ascii-chichibu" style="border:0;width:100%;max-width:860px;aspect-ratio:860/830" title="Chichibu Night Festival in ASCII" 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.

A visible credit is appreciated but not required. If you want to give one, use:

Chichibu Night Festival in ASCII, 2026 series, by aspect.tools (https://aspect.tools/chichibu-night-festival), MIT License

How to change it

What to changeWhereExample
The words on screenBANNER and CHANTvar CHANT = 'H O - R Y A I !';
Colours and which characters a material usesthe mat(...) lines: name, red, green, blue, optional characters for dark to brightmat('lamp', 255, 220, 140, ['o','O','0','@'])
Characters for ordinary surfacesRAMP, four groups from dark to bright'#@WM8B$'
The floatthe section marked “the float”: wheels, body, stage, roof, lanternslamp(-9, 24, lz)
Size of the picture in charactersCOLS and ROWS, and U for the size of the modelCOLS = 120, ROWS = 60
How often fireworks launch by themselvesthe line that sets nextLaunch1.4 + Math.random() * 2

How ASCII rendering works

The scene is first worked out as points in 3D, exactly as a normal 3D picture would be. Instead of painting pixels, the page divides the screen into a grid of 120 × 60 character cells. For each cell it keeps only the nearest point, picks a character by how bright that point is, and colours it by its material. Finally it draws a soft circle of light over every lantern and bright spark that is not hidden behind something else.

Questions

When is the Chichibu Night Festival?

It is held on December 2 and 3 every year in Chichibu, Saitama Prefecture, Japan.

What do people shout at the Chichibu Night Festival?

The pullers chant "Ho-ryai! Ho-ryai!" in time with the taiko drums.

Is this an accurate model of a real float?

No. It is a simplified illustration of a yatai float with lanterns. It does not reproduce the carving or curtains of any particular float.

What can I click?

Click the sky for a firework. Click the float or the people on and around it to make everyone cheer. Drag to turn the scene.

Can I use it on my own website?

Yes. It is under the MIT License for personal and commercial use. Keep the license notice inside the file.

Related tools and guides