Dog Playground Interactive

“Pick a yard, a pup, and a toy.”

JavaScriptCanvas / DOMPhysics EngineSprite AnimationMobile Touch
Click to play

Dog Playground is a standalone extraction of the dog wander + throw-toy interaction from the larger GardenCraft project. Everything unrelated โ€” garden beds, plants, AI providers โ€” is stripped away, leaving a focused interactive you can play in seconds.

The architecture is built for extension: dogs and toys are registered through catalogs with customizable sprites, physics profiles, and movement settings. The physics engine handles launch vectors, exponential damping, wall collisions with restitution, and speed-threshold cleanup โ€” all running at 60fps in a requestAnimationFrame loop.

What it does

Throw Toys

Drag to throw balls, frisbees, or bones. Each toy has unique physics โ€” weight, bounce, and damping tuned for a satisfying feel.

Dog AI

Three breeds with distinct speeds and behavior: Farm Collie, Quick Collie, and Steady Shepherd. They wander, chase, and catch.

Pan & Zoom Canvas

A 2400ร—2400 pixel world you can scroll, pinch-zoom, and drag around โ€” on desktop or mobile.

Texture Backgrounds

Choose from dirt, grass, gravel, sand, or tile backgrounds โ€” each rendered as a repeating texture with a grid overlay.

Screenshots

Try Dog Playground

Play it right here, or open the full standalone version.