Animated ASCII Cat: A Ginger Tabby Asleep on a Cushion

A ginger tabby curled up asleep on a red cushion, breathing slowly as little z's drift up into the warm room.

Animals80×3020 fps5.2 KB
Look

Use it Docs

Paste two lines into any page, use it from React, play it in a terminal, put a GIF in a README, or hand the Agent prompt to your coding agent. Every tab follows the look you pick above.

<script type="module" src="https://www.ascii-magic.com/ascii/ascii.js"></script>

<ascii-art piece="sleeping-cat"></ascii-art>

Export

Pause on the frame you like, pick a look, then download it at an exact size.

Share

← Skeleton LoaderDrowsy Crescent Moon →

This ASCII cat is a ginger tabby curled up fast asleep on a red cushion, drawn entirely in text characters. Its striped body swells and settles with each slow breath, its head rises and dips a little, and small z's drift up from just above its head into a dim, warm room. It is a full drawn scene, 80 columns wide and 30 rows tall, playing at 20 frames per second.

Most people looking for ASCII art cat pictures want something to paste or share, and this page does both. Pause on any frame and press Copy as text to grab it as plain characters for a chat or a code comment. When you want the motion too, embed the live cat with one tag, play it in a terminal, or download it as a GIF, a video or a PNG wallpaper.

How to copy and paste the ASCII cat as text

The classic ASCII cat is tiny: a face like =^.^= typed into a sentence, or the little three-line cat with pointed ears, round eyes and whiskers that has been passed around forums and chats for years. Those still have their place, and they fit on one line of a message. This page offers something bigger: a fully drawn sleeping cat with shading, stripes, a cushion and a room behind it, which you can copy as text one frame at a time.

To copy it, press Pause on a frame you like, choose a look, then press Copy as text. The current frame goes to your clipboard as plain characters, drawn in whichever look you picked. Paste it anywhere a monospace font keeps the rows lined up, such as a code block, a comment at the top of a source file, a terminal or a plain-text email. A few tips help the cat survive the trip:

  • The Original look shades the cat with solid block characters. For classic keyboard characters, switch to the ASCII or Letters look before you copy.
  • Colors do not travel with the text, so choose a look where the outline of the cat still reads in one color.
  • Pause while a big Z is in the air, so the frame says asleep at a glance.
  • In chat apps, wrap the paste in a code block so every row stays aligned.
  • The frame is 80 characters wide and can wrap on a phone. When it has to fit a small screen or keep moving, use the GIF.

What the sleeping cat animation shows

The scene is built in layers. At the back is a warm brown wall shaded with light, medium and dark shade characters, brightest in a soft glow toward the top left, above a textured floor. In front sits a wide oval cushion in deep reds, edged in darker shading and dotted with round button tufts. The cat lies across it: a long ginger body shaded through twelve tones from rust to pale cream, with darker tabby stripes that follow the curve of its back and a ringed tail curled around the front.

The head rests at the left end of the body, with two pointed ears lined in pink, a few dark stripes on the forehead and a pale cream muzzle. The eyes are closed, each drawn as a little curve of backslash, underscore and slash characters, with a pink triangle for the nose, a small w for the mouth and pale whisker lines reaching out on both sides.

The motion is gentle on purpose. Roughly every four seconds the body swells by a few percent and settles again, and the head lifts a fraction with it. Three z's take turns rising: each starts as a small lowercase z, grows into a capital Z, then becomes a large three-row Z built from half-block characters, drifting up and to the right with a slight sway while its color shifts from white to a soft pale blue.

Ways to use the animated ASCII cat

Everything below lives on this page, and the code tabs follow the look you pick in the player. To put the live cat on any web page, load the script once with <script type="module" src="https://www.ascii-magic.com/ascii/ascii.js"></script>, then add <ascii-art piece="sleeping-cat"> with its closing tag wherever the cat should nap. It plays only while it is on screen, holds a still frame for visitors who prefer reduced motion, and weighs a few KB.

From there, pick the format that suits the place:

  • React: the React tab gives a small component that runs the piece inside a pre element.
  • Terminal: the cat plays in a terminal in color with one command from the Terminal tab, and can print a single still frame instead.
  • README: download the GIF, commit it to your repository, and paste the snippet from the README tab, since README files cannot run scripts.
  • GIF and video: export an animated GIF, or an MP4 or WebM video at 1920x1080 by default with a 4K option.
  • PNG: save wallpapers for desktop at 4K or 1080p and for phones, plus social sizes for thumbnails, headers, banners, square posts and stories.
  • Looks: redraw the cat as Halftone dots, Blocks, ASCII, Letters, Numbers or your own characters, with sliders for dot size and density.
  • Embed attributes: look sets the style, mono draws the cat in a single color, bg sets the background, speed slows or quickens the breathing, and size sets the font size in pixels.

Where a sleeping cat fits

A cat asleep is the friendliest way to say nothing is happening yet. That makes it a natural fit for 404 pages, empty inboxes, blank dashboards and other nothing here yet states, with a short message and a link sitting under the art. The piece is tagged for 404 pages and loaders, and its slow loop also suits a panel that is waiting on data. For layouts and code, see Animated ASCII art for 404 and error pages and ASCII loading spinners and progress bars for websites.

It works away from the browser too. Play it for a few seconds as a shell greeting (see A terminal welcome screen with animated ASCII art), or paste a copied frame into a chat as an away or good night message (see ASCII art you can paste into Discord and Slack). For a cozy desktop or phone background, export a PNG at the size you need; ASCII art wallpapers for desktop and phone lists the options. Pet sitters, vets, cat cafes, bedtime and sleep apps, and anyone with a cat mascot will find it a gentle fit.

Want more cats? Cat at the Keyboard shows a gray tabby tapping at a laptop late at night, over in Mascots & Characters. Dogs, owls, fish and whales live in Animals, and the full ASCII library holds about 734 animated pieces in 24 categories, all MIT licensed.

/FAQS

Animated ASCII Cat: frequently asked questions

Q. How do I copy and paste an ASCII cat?
Pause the Sleeping Cat on a frame you like and press Copy as text, and that frame lands on your clipboard as plain characters. Paste it into a code block, a comment or a terminal, anywhere with a monospace font. For classic keyboard characters instead of solid blocks, pick the ASCII or Letters look before you copy.
Q. Is there an animated ASCII cat I can put on my website?
Yes, add one script tag and an ascii-art element with its piece attribute set to sleeping-cat, and the ginger tabby breathes on your page. It plays only while it is on screen and holds a still frame for visitors who prefer reduced motion. Attributes such as size, speed, look, mono and bg fit it to your design.
Q. What is the difference between a text cat face and ASCII cat art?
A text cat face is a tiny emoticon such as =^.^= that fits inside a sentence, while ASCII cat art draws a whole cat across many lines of characters. The Sleeping Cat is the second kind: 80 columns by 30 rows, with shading, stripes, a cushion and a room, and it is animated as well.
Q. Can I download the sleeping cat as a GIF?
Yes, press Download GIF on this page to save the sleeping cat as an animated GIF. That is the version to use in chats, emails, slides and README files, where scripts do not run. Choose a look first if you want the GIF drawn in Halftone dots, Blocks or another character set.
Q. Can I play the sleeping cat in a terminal?
Yes, run npx --yes ascii-magic-art sleeping-cat and the cat plays in your terminal in color. Add --frame to print one still frame, or --seconds=3 for a short burst, which suits a shell greeting or a friendly sign-off when a long script finishes.
Q. Is there an ASCII kitten?
Not as a separate piece, but the Sleeping Cat curls up on its cushion like a napping kitten and works anywhere you want that feel. For a cat with a job, Cat at the Keyboard shows a gray tabby tapping at a laptop. To turn a photo of your own kitten into ASCII, use the ASCII Magic editor.
Q. Can I use the sleeping cat on a 404 page?
Yes, it is tagged for 404 pages, and a cat asleep on the job makes a missing page feel less like an error. Embed it above a short line of text and a link back home, so the message is clear even when the animation is paused. For complete layouts, see Animated ASCII art for 404 and error pages.
Q. How do I change the colors of the sleeping cat?
Use the mono attribute to draw the whole cat in a single color, and bg to set what sits behind it. To keep the colors but change the texture, set look to dots, blocks or letters, or give chars your own characters ordered light to dark. For a different coat, edit the fur palette in your copy of the source.
Q. Can I use this cat ASCII art in a commercial project?
Yes, the Sleeping Cat is MIT licensed, so you can use it in personal and commercial work, including apps, client sites, products and videos. Credit is appreciated but not required. The license is not exclusive, so other projects may use the same cat.
Q. Is the sleeping cat made from a photo?
No, the cat is hand-coded as an animation, so its body, stripes, ears, closed eyes, whiskers and z's are all drawn by code, frame by frame. That keeps the shapes crisp even at small sizes. If you want your own cat in ASCII, upload a photo or video to the ASCII Magic editor instead.
Q. Can I use the sleeping cat as a loading animation?
Yes, its slow, steady breathing is calm to watch while a page or panel waits for content. Place it where the content will appear and swap it out once the data is ready, or leave it on an empty state until there is something to show. See ASCII loading spinners and progress bars for websites for the code.
Q. Can I use the sleeping cat as a wallpaper?
Yes, the export panel saves the sleeping cat as a PNG wallpaper at desktop 4K, desktop 1080p or phone size. Pause on a frame with a big Z in the air first, and try the Light background or another look if you like. For a moving background, export the video instead.

Source GitHub

MIT licensed and open source on GitHub. It imports one small helper file, kit.js. This is the animation itself: what gets drawn in every frame. The look you pick is applied on top by the player, like a filter, so this file stays the same in every look while the snippets above change with it. Edit it to change the animation; see the docs to make your own.

/* sleeping-cat: a ginger tabby curled up asleep on a cushion, breathing slowly while z's drift up. */
import { Grid, palette, gradient, KEYS, fbm, noise2, rng, clamp, TAU } from "../lib/kit.js";

const P = [];
const add = (c) => { const o = P.length; P.push(...c); return o; };
const WALL = add(gradient(["#1a120e", "#2a1e16", "#3e2c1e", "#544028", "#6a5232"], 10));
const LAMP = add(["#8a6a3a", "#b08a4a"]);
const CUSH = add(gradient(["#3a0e1a", "#5a1628", "#7e2038", "#a43048", "#c44a5a"], 8));
const FUR = add(gradient(["#7a3a10", "#a8521a", "#cc6e24", "#e48a34", "#f4a84e", "#fcc880"], 12));
const STRIPE = add(["#5a2a0c", "#7a3a12"]);
const PINK = add(["#e88a8a", "#f4b0a8"]);
const DARK = add(["#1a0e08"]);
const ZZ = add(["#a8b8e0", "#d0dcf4", "#ffffff"]);
const WHISK = add(["#f4e8d8"]);

export const meta = {
  slug: "sleeping-cat",
  name: "Sleeping Cat",
  category: "animals",
  note: "A ginger tabby curled up asleep on a red cushion, breathing slowly as little z's drift up into the warm room.",
  tags: ["cat", "pets", "sleep", "cozy", "loader", "404"],
  cols: 80, rows: 30, fps: 20,
  palette: palette(P),
};

const SH = " ░▒▓█";
const BIGZ = ["▀▀█", "▄▀ ", "█▄▄"];

export default function create() {
  const { cols, rows } = meta;
  const g = new Grid(cols, rows);
  return (t) => {
    g.clear();
    const br = Math.sin(t * 1.5);
    for (let y = 0; y < rows; y++) for (let x = 0; x < cols; x++) {
      const d = Math.hypot((x - 14) / 2, y - 3);
      const v = clamp(0.25 + Math.exp(-d / 14) * 0.6 + (fbm(x * 0.05, y * 0.1, 3, 1) - 0.5) * 0.2);
      g.set(x, y, SH[1 + Math.min(3, Math.floor(v * 4))], KEYS[WALL + Math.min(9, Math.floor(v * 10))]);
    }
    for (let y = 21; y < rows; y++) for (let x = 0; x < cols; x++) g.set(x, y, (x + y) % 4 === 0 ? "▒" : "▓", KEYS[WALL + 2 + ((x >> 2) + y) % 2]);
    for (let y = 16; y < 29; y++) for (let x = 4; x < 76; x++) {
      const d = Math.hypot((x - 40) / 36, (y - 23.5) / 5.5);
      if (d > 1) continue;
      const tuft = Math.hypot(((x - 40) % 12 + 12) % 12 - 6, (y - 23) * 2) < 1.5;
      const lit = clamp(0.8 - (y - 18) * 0.07 - d * 0.3);
      g.set(x, y, tuft ? "●" : d > 0.9 ? "▓" : "█", KEYS[CUSH + Math.min(7, Math.floor(lit * 8) - (tuft ? 2 : 0))]);
    }
    const bcx = 44, bcy = 17.5, brx = 20, bry = 6.2 * (1 + br * 0.045);
    for (let y = Math.floor(bcy - bry - 1); y <= bcy + bry; y++) for (let x = bcx - brx - 1; x <= bcx + brx + 1; x++) {
      const dx = (x - bcx) / brx, dy = (y - bcy) / bry;
      const dd = dx * dx + dy * dy;
      if (dd > 1) continue;
      const ang = Math.atan2(dy, dx);
      const stripe = Math.sin(ang * 11 + noise2(x * 0.2, y * 0.3, 2) * 2) > 0.55 && dd > 0.25;
      const lit = clamp(0.5 - dy * 0.35 - dx * 0.1 + Math.sqrt(1 - dd) * 0.35);
      g.set(x, y, stripe ? "▓" : dd > 0.85 ? "▓" : "█", stripe ? KEYS[STRIPE + (lit > 0.5 ? 1 : 0)] : KEYS[FUR + Math.min(11, Math.floor(lit * 12))]);
    }
    for (let i = 0; i <= 60; i++) {
      const u = i / 60;
      const a = -0.2 + u * 2.6;
      const x = 46 + Math.cos(a) * 21 * (1 - u * 0.25);
      const y = 19.5 + Math.sin(a) * 4.2 + u * 0.5;
      const th = 1.6 - u * 0.6;
      for (let k = -1; k <= 1; k++) {
        const yy = Math.round(y + k * th * 0.5);
        const ring = Math.floor(u * 14) % 2 === 0;
        g.set(x, yy, "█", ring ? KEYS[STRIPE + 1] : KEYS[FUR + (k < 0 ? 9 : 6)]);
      }
    }
    const hx = 25, hy = 17 + br * 0.25, hrx = 9.5, hry = 5;
    for (const [ex, dir] of [[hx - 6, -1], [hx + 5, 1]]) for (let k = 0; k < 4; k++) {
      const y = Math.round(hy - hry - 2 + k);
      const half = Math.floor(k * 0.8);
      for (let dx = -half; dx <= half + 1; dx++) g.set(ex + dx + (dir > 0 ? -k * 0.3 : k * 0.3), y, k > 0 && dx >= 0 && dx <= half ? "▓" : "█", k > 0 && dx >= 0 && dx <= half ? KEYS[PINK] : KEYS[FUR + 7]);
    }
    for (let y = Math.floor(hy - hry); y <= hy + hry; y++) for (let x = hx - hrx - 1; x <= hx + hrx + 1; x++) {
      const dx = (x - hx) / hrx, dy = (y - hy) / hry;
      const dd = dx * dx + dy * dy;
      if (dd > 1) continue;
      const lit = clamp(0.55 - dy * 0.3 + Math.sqrt(1 - dd) * 0.35);
      const forehead = dy < -0.35 && Math.abs(dx) < 0.3 && Math.round(x) % 2 === 0;
      const muzzle = dy > 0.05 && Math.abs(dx) < 0.42;
      g.set(x, y, forehead ? "▓" : "█", forehead ? KEYS[STRIPE] : KEYS[muzzle ? FUR + 11 : FUR + Math.min(11, Math.floor(lit * 12))]);
    }
    g.text(hx - 5, Math.round(hy), "\\__", KEYS[DARK]);
    g.text(hx + 3, Math.round(hy), "__/", KEYS[DARK]);
    g.text(hx - 1, Math.round(hy + 1), "▼", KEYS[PINK]);
    g.set(hx - 1, Math.round(hy + 2), "w", KEYS[DARK]);
    g.text(hx - 15, Math.round(hy + 1), "───", KEYS[WHISK]); g.text(hx - 14, Math.round(hy + 2), "──", KEYS[WHISK]);
    g.text(hx + 11, Math.round(hy + 1), "───", KEYS[WHISK]);
    for (let i = 0; i < 3; i++) {
      const a = ((t / 3.6) + i / 3) % 1;
      const zx = Math.round(hx + 9 + a * 14 + Math.sin(a * 6 + i) * 1.5), zy = Math.round(hy - 6 - a * 9);
      const key = KEYS[ZZ + (a < 0.3 ? 2 : a < 0.7 ? 1 : 0)];
      if (a > 0.45) g.block(zx, zy - 1, BIGZ.join("\n"), key);
      else g.set(zx, zy, a > 0.2 ? "Z" : "z", key);
    }
    return g.frame();
  };
}

More animals

Living things, from cats to whales.

/YOUR OWN

Turn your own image or video into ASCII

The pieces here are hand-built animations. To turn your own photo, logo or video into animated ASCII, use the ASCII Magic editor.