Original pastel pixel pets that live in your editor.
Ponies, marshmallow kittens and chibi bunnies trot, hop, fly, nap and chase the stars you throw,
in a sugar castle under a rainbow, on a meadow, on a cloud floor or in a starlit dream.
Install
- VS Code: search for "Marshmeadow Pets" in the Extensions view, or run
code --install-extension alessandracosteant.marshmeadow.
- VSCodium and other editors using Open VSX: search for "Marshmeadow Pets", or run
codium --install-extension alessandracosteant.marshmeadow.
- From a
.vsix: in the Extensions view, open the … menu and choose Install from VSIX….
It also runs on the web, for example on vscode.dev.
Use
- Open the Marshmeadow view in the Explorer, or in the Panel if you set
marshmeadow.position to panel.
- The view's title bar has three buttons: + adds a pet, ★ throws a star, and the bin removes a pet. The
… menu holds Dress Up, Pamper, Roll Call and Change Environment.
- Hover a pet to see its name. Click it for a happy hop.
- Pamper. Brush a pet by moving the pointer back and forth over it, give it a treat, or run a bubble bath.
- All commands are in the Command Palette, under "Marshmeadow".
The cast
| Pet |
Variants |
Colours |
| Pastel pony |
trotter trots and hops · winged flies with a trail of little stars · horned sparkles when happy |
strawberry, mint, lemon, blueberry, peach, cotton |
| Kawaii friends |
marsh is a marshmallow kitten with a pink bow · bun is a chibi bunny with a heart-shaped tail |
vanilla, sakura, matcha |
Accessories (Dress Up): pink bow, pearls, heart glasses, tiara, and a little cape for ponies.
Settings
| Setting |
Values |
Default |
marshmeadow.environment |
auto, sugar-castle, strawberry-meadow, cotton-candy-sky, starlight-dream |
auto (follows the theme) |
marshmeadow.petSize |
auto (fits the scene like the GIF), small, medium, large |
auto |
marshmeadow.position |
explorer, panel |
explorer |
marshmeadow.particles |
full, reduced, off |
full |
marshmeadow.maxPets |
1–30 |
10 |
marshmeadow.reactions.onSave |
a pet dances when you save |
true |
marshmeadow.reactions.onErrorsCleared |
a rainbow when errors drop to zero |
true |
marshmeadow.breakReminderMinutes |
a gentle stretch reminder; 0 = off |
0 |
Why it's different
- Sprites as code. Every pet is one TypeScript file. Its frames are grids of palette slots, and colour variants are palette swaps, so the repository contains no binary art.
- Colour science. Palettes are defined in OKLCH. Shadows and highlights are hue-shifted, colours are gamut-mapped into sRGB, and every world has a day and a night version that follows your theme. Text contrast meets WCAG 4.5:1.
- A behaviour you can read. Each pet's mood is a semi-Markov chain.
npm run behavior-report proves it irreducible and aperiodic and checks the time spent in each state against a seeded Monte Carlo run.
- Real physics. The animation runs on a fixed timestep with interpolation. Stars bounce with a coefficient of restitution and never gain energy. Winged ponies use steering to intercept the star in flight.
- Light and kind.
- The animation pauses when the view is hidden and is capped at 30 FPS.
- It honours reduced motion, and high-contrast themes get flat backgrounds and dark outlines.
- No network, no telemetry, and it never reads your files.
- No guilt mechanics: pets never get sick or sad.
The maths is explained, with sources, in docs/math.md.
Add your own pet in 10 minutes
Copy src/engine/pets/kawaii.ts, draw your pet's parts as character grids, set its author and license, register it in registry.ts, and run npm run sprites:preview. The step-by-step guide is in CONTRIBUTING.md.
Privacy
Marshmeadow makes no network requests, collects no telemetry and never reads your files. Work reactions only use events and counts: "a file was saved", "the number of errors is now 0". The only file it ever opens is a pets file you choose in Import Pets.
Made with pastel pixels and a lot of care. Lettering in the images: Dancing Script and Quicksand (SIL Open Font License).
License
MIT. Contributions follow the code of conduct.
| |