What it is
A cat drawn like a pencil-and-marker doodle on notebook paper. It is fully 2D and it lives on the page: it walks in side view, turns to sit facing you, and every so often jumps for no reason. The lines are redrawn slightly differently eight times a second, so the drawing shivers the way hand-drawn animation does, and the marker colour never quite lines up with the outline.
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 by itself
| Behaviour | When |
|---|---|
| Walks after the yarn, in side view | Whenever you move the pointer more than a short way from it |
| Sits down facing you and watches the yarn | When it reaches the yarn, or reaches a spot it chose |
| Wanders to a new spot | After sitting for a few seconds with nothing to do |
| Jumps | About two times in five when it gets bored of sitting |
| Pounces straight up | When you hold the yarn above its head |
| Chases the mouse | Every three minutes a mouse peeks out of the hole in the wall and runs across the floor. The cat forgets the yarn, runs after it and pounces once. The mouse always gets home. The Mouse! button calls it at once. |
| Blinks | Every few seconds |
What it does when you touch it
| What you do | What the cat does |
|---|---|
| Tap or click the cat | Half the time it meows, with a hand-lettered speech bubble and a sound. The other half it reaches out a paw and swats the yarn away. |
| Press on the cat and drag upward | You lift it by the scruff. It hangs long and limp, legs and tail dangling, and swings when you move it. |
| Let go | It drops, lands with a squash, and sits. |
Make it your cat
The panel under the drawing has presets and pickers for the marker colours (fur, stripes, chest, eyes, nose), the pencil line and the paper, plus sliders for how shaky the hand is, how fast the cat walks and how often it meows. Copy settings gives a block to paste over CONFIG near the top of the script.
| Setting | What it changes | Example |
|---|---|---|
fur, stripes, chest, eyes, nose | Marker colours | fur: '#f0b56a' |
ink, paper | Pencil line and page colour | ink: '#1d3a8a' for blue biro |
wobble | 0 is a steady hand, 1 is very shaky | wobble: 0.5 |
speed | Walking speed | speed: 130 |
mouseEvery | Seconds between visits from the mouse; 0 means never | mouseEvery: 180 |
meowChance, meowText | How often it meows, and what the bubble says | meowText: 'Nyan!' |
showStripes, name, toy | Tabby marks, title text, yarn colour | showStripes: false |
How the doodle look is made
Each part of the cat is a short list of points. Before a part is drawn, every point is nudged by a small random amount, and the amounts change eight times a second. The outline is traced twice with different nudges, like a pencil going over a line again, and the colour is filled a couple of pixels off to one side. Two drawings are kept, one from the side and one from the front, and the page switches between them as the cat changes what it is doing.
Five cats
| Version | Look | Moves around? |
|---|---|---|
| Soft 3D | Shaded and fluffy | Sits in one place |
| Layered 2.5D | Cut-out with sliding layers | Sits in one place |
| ASCII 3D | Letters and symbols | Sits in one place |
| Pixel 3D | Square pixels | Sits in one place |
| Doodle (this page) | Pencil and marker on paper | Walks, sits and jumps on its own |
How to take it
Press Download the HTML file above to get doodle-cat.html, or press Copy the code and save it as a file ending in .html. It is one file with no libraries and works offline.
View the code
Loading…Embed it on your page
<iframe src="https://aspect.tools/doodle-cat" style="border:0;width:100%;max-width:760px;aspect-ratio:760/1010" title="Doodle Cat" loading="lazy"></iframe>
License and credit
Doodle Cat, 2026 series, by aspect.tools (https://aspect.tools/doodle-cat-page), MIT License
A visible credit is appreciated but not required.
Questions
Does the cat move by itself?
Yes. It walks after the yarn, sits, wanders to new spots and jumps on its own.
Does the cat catch the mouse?
No. It chases the mouse and pounces once, and the mouse always escapes back into its hole.
Why do the lines shake?
Every point of the drawing is moved by a small random amount eight times a second, which imitates frames drawn by hand. The wobble setting controls how much.
How do I pick the cat up?
Press on the cat and drag upward. It hangs by the scruff until you let go.
Can I recolour it or change the paper?
Yes. Use the panel under the drawing or edit CONFIG in the file.
Is it light enough for phones?
Yes. It is the lightest of the five cats and draws only a few dozen strokes per frame.