Aspect ratio calculator / Free HTML Animations

Free HTML Animations

Pixel holiday scenes, ASCII scenes, cats that react and short plays. Free to download, copy or embed.

Sizes and ratios are what make these scenes fit any screen, which is why they live next to the calculator. Why this site has animations.

2027 series

2026 series

Interactive

ASCII

Bonus

What these are

Small animations drawn with code, in five kinds: rotating pixel scenes for the holidays, built from little cubes; ASCII scenes printed with letters and symbols; interactive cats that follow the pointer and answer a touch; and bonus plays in woodblock-print and paper-puppet style. They are made to be taken: every one is a single HTML file with no libraries, and each page has a download button, a copy-the-code button and an embed code.

Why a site about ratios and sizes makes animations

Every one of these starts with the same question the calculator answers: how wide, how tall, what shape. The numbers are decided first and the drawing comes after.

KindThe measuring behind it
Pixel scenesDrawn on a grid of 240 × 270 pixels, an 8:9 shape, and then enlarged. Small numbers on purpose: that is what makes the pixels visible.
ASCII scenesA grid of characters, for example 120 across and 60 down. A character cell is taller than it is wide (8 × 12), so 120 × 60 cells make a 960 × 720 picture, which is 4:3. Forget that and every circle comes out as an egg.
PlaysA 3:2 stage of 1080 × 720, the shape of a classic photo print, so the whole stage fits a laptop and a phone held sideways.
Wide playsSekigahara from the Ridge is drawn on a grid of 560 × 300 and enlarged twice to 1120 × 600. That is 28:15, a wide landscape, because a valley with two armies needs more width than a photo print gives.
Embed codesEach one uses the CSS aspect-ratio property, so the frame keeps its shape at any width and nothing is cut off.

So if you want to change one of these, or make your own, the first step is the same as for a photo or a video: know the ratio, then pick the pixel size. The calculator gives both, and it writes the aspect-ratio line for you.

All scenes

SceneSeriesWhat is in it
Pixel Lunar New Year 20272027Three versions: Korean house, Chinese hall with dragon dance, Japanese shrine gate; countdowns
Pixel Halloween Castle2027Castle, vampire count, zombies, skeletons, ghosts, witch, bats, jack-o-lanterns, lightning
Pixel New Year 20272027Night city, fireworks, confetti, 2027 sign, live countdown, cars, blimp
Jelly Dragon2026, interactiveSoft-body dragon with gravity: lift, shake, drop; water drops and puddles; firmness and wobble sliders
Snow Kimono Cat2026, pixel, interactiveWhite cat in a red kimono in the snow; head follows the pointer, meows, shakes off settled snow
Soft 3D Cat2026, interactiveFluffy cat that follows the pointer, meows or swats, can be lifted by the scruff, fully recolourable
Layered 2.5D Cat2026, interactiveCut-out cat with a layered face; same reactions and settings as the 3D cat
Doodle Cat2026, interactiveHand-drawn 2D cat that walks, sits facing you and jumps on its own
Pixel 3D Cat2026, pixelThe 3D cat as pixel art; same reactions and settings
The Dragon and the Hill in ASCII2026, ASCIIWinged dragon, mounted knight, soldiers, fire breath and war cry on click
Dragon over Blackridge2026, ASCIIA 3D dragon, village and castle in text; automatic fire breath and ballista duel, 360-degree camera, fire by hand
Typing Nagashino 15752026, ASCIICode typed on the left, then a battle simulation on the right: gun volleys, cavalry waves, palisades that break
The Great Wave in ASCII2026, ASCIIAfter Hokusai: a wave that rises, curls and breaks in a loop, three boats, Mount Fuji
Typing Seoul2026, ASCIICode typed on the left, Seoul at night drawn in text on the right: towers, palace, Han River, Banpo Bridge
The Imugi and the Tower in ASCII2026, ASCIIGiant serpent on a skyscraper, helicopters, bite and missile on click, tail follows the pointer
ASCII 3D Cat2026, ASCIIThe 3D cat printed with text characters; same reactions and settings
Chichibu Night Festival in ASCII2026, ASCIILantern float in text characters, rope pullers, crowd, snow, fireworks, click reactions
Sekigahara from the Ridge2026, playThe Battle of Sekigahara in 112 seconds of pixel art: fog, volleys, the hill that turned; four languages, zoom, optional sound
The Battle of Two Banners2026, bonusPaper puppet play of an imagined Sengoku battle: spears, matchlocks, cavalry, hidden reserve
Susanoo and the Eight-Headed Serpent2026, bonusUkiyo-e style play retelling the Yamata no Orochi myth
The Lantern That Would Not Light2026, bonusUkiyo-e style play in five acts on a 3:2 stage: fox, tanuki, kappa, umbrella spirit, lantern
Pixel Thanksgiving2026Autumn tree, falling leaves, pumpkins, hay bales, turkeys, scarecrow, geese, sunset
Pixel Christmas Tree2026Tree with lights and a star, snow, gifts, gingerbread cookies, candy canes, snowman, sleigh

Each scene belongs to a series named after its year. The 2026 series covers the 2026 holidays. The 2027 series starts with New Year 2027 and is published early, so there is time to download and adapt it before the day. Later versions will sit beside the earlier ones without replacing them.

Using them

All scenes are free under the MIT License for personal and commercial use. Keep the copyright and license notice that is at the top of each file. A visible credit is appreciated but not required. Each scene page explains how to download, copy or embed it, and which lines to edit to change the colours, the objects and the timing.

Questions

Are the animations free to use?

Yes. They are under the MIT License, for personal and commercial use. Keep the license notice inside the file.

What do "2026 series" and "2027 series" mean?

Each scene belongs to the series of its year. The 2026 series is Thanksgiving and Christmas 2026. The 2027 series starts with New Year 2027.

Do they need a server or libraries?

No. Each scene is one HTML file that runs in a browser, also offline.

Can I embed a scene without hosting it?

Yes. Each scene page has an embed code that loads the scene from aspect.tools.

Related tools and guides