vanilla js · no dependencies

A skin switcher for the oneko cursor cat.

oneko is the pixel cat that follows your cursor. This is a small switcher that sits on top of it, so visitors can pick which cat it is. You list your sprites in a JSON file and add one script. That's the whole thing.

  • ~100example skins
  • 1script to add
  • 0dependencies
  • 0downloads

There's a cat following your cursor right now. Click it, or press C, to change it.

What it does

The cat

The oneko engine animates a cat that walks, runs, scratches, gets tired and sleeps. It all comes from one 256x128 sprite sheet of 32x32 cells.

The switcher

A menu lists every sprite from your JSON file, grouped by category. Click one and the cat changes. Whatever you pick is saved in localStorage for next time.

Config, not code

To add a cat, add a line of JSON: a name, a sprite path, a category. Every skin shows up in the menu straight away. Nothing to unlock.

The kit

The starter kit has the script, a small stylesheet, a sample config and a demo page. If you'd rather, the full cat.js I use is on GitHub too.

Have a look around

Browse the cats

Around a hundred skins, grouped by category. Click any of them to put it on your cursor.

See all the cats →

Set it up yourself

Four short steps to drop the switcher into your own site, plus the JSON format and the small API.

Read the setup →