Aspect ratio calculator / Pixel 3D Cat

Pixel 3D Cat

A 3D cat drawn in square pixels. It watches, swats, meows and can be picked up.

Pixel · Interactive · 2026 series · All animations

Move the yarn, tap the cat, or press and drag up to lift it. Free under the MIT License.

What it is

The soft 3D cat redrawn as pixel art. The model underneath is the same set of about a hundred balls with a head that turns in space, but the picture is made on a tiny 150 × 180 grid and then enlarged without smoothing, so every pixel is a visible square. Shading is reduced to four flat tones per colour, and the darkest tone runs round the rim of each shape as an outline, the way hand-made pixel art is usually finished.

About the cat. It is modelled on a real cat: the long-haired grey tabby that lives with the person who runs this site. The round body, the chest ruff and the steady stare come from that cat.

What it does

What you doWhat the cat does
Move the pointer, or drag a fingerTurns its head and eyes toward the pixel yarn. It blinks and flicks its tail.
Tap or click the catHalf the time it meows with a speech bubble and a sound. The other half it swats the yarn away with a paw.
Press on the cat and drag upwardYou lift it by the scruff. The legs and tail dangle and swing, the eyes go wide.
Let goIt drops back to the rug and settles.

Make it your cat

The panel under the cat has presets, colours for fur, stripes, chest, muzzle, eyes and nose, fluffiness, meow chance and a name. Copy settings gives a block to paste over CONFIG in the file. The same block works in the soft 3D, 2.5D and ASCII cats.

What to changeWhereExample
Size of one pixelPX. 3 is finer, 6 is chunkier (use a number that divides 600 and 720)PX = 4
The four tones of every colourthe list inside tone, from outline to highlight[-0.42, -0.14, 0.06, 0.26]
Room coloursWALL, FLOORC, RUGRUG = c32([185, 120, 90])
Size of the catSCSC = 0.7
Colours, fluff, name, meow chanceCONFIGfur: '#e09a4a'

Four cats, one model

VersionLookGood for
Soft 3DShaded, rounded, fluffyThe most lifelike one
Layered 2.5DFlat cut-out with outlinesStickers, small screens, slow phones
ASCII 3DLetters and symbols on a dark screenTerminal and retro pages
Pixel 3D (this page)Square pixels, four tones per colourGame-like and retro pages

How to take it

1. Download the file

Press Download the HTML file above. You get pixel-3d-cat.html. It is one file with no libraries and works offline.

2. Copy the code

View the code
Loading…

3. Embed it on your page

<iframe src="https://aspect.tools/pixel-cat" style="border:0;width:100%;max-width:560px;aspect-ratio:1/2.2" title="Pixel 3D Cat" 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.
Pixel 3D Cat, 2026 series, by aspect.tools (https://aspect.tools/pixel-3d-cat), MIT License

A visible credit is appreciated but not required.

Questions

Is the pixel cat a sprite sheet?

No. It is a 3D model drawn fresh on every frame at low resolution, so it can turn its head to any angle and hang in any pose.

Can I make the pixels bigger or smaller?

Yes. Change PX near the top of the painting code. 3 is finer and 6 is chunkier.

Can I recolour it?

Yes. Use the panel under the cat or edit CONFIG. Settings copied from the other cats work here too.

How do I pick the cat up?

Press on the cat and drag upward. It hangs by the scruff until you let go.

Does it work on phones?

Yes. Drag a finger to move the yarn, tap the cat, or press and drag up to lift it.

Related tools and guides