Skip to content

feat: Move the About cats on their drawings, through in-betweens, with long rests. - #393

Closed
sindurigf wants to merge 5 commits into
mainfrom
feat/cats-motion
Closed

sindurigf wants to merge 5 commits into
mainfrom
feat/cats-motion

Conversation

@sindurigf

@sindurigf sindurigf commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Preview: https://feat-cats-motion-sinduri-lol.sinduri-g.workers.dev/about/

  • WALK_SPEED (about-cats-frames.ts): the cats travel at 85% of one walk frame per 83 ms step, so the walk never skips a frame. withApproach walks to the spot. There is no crouched creep or trot.
  • stalk: steps on walk frames and freezes standing, then crouches in place and pounces. The fly chase's crouch holds still. The yarn runs are linear and start from standing.
  • LINKS and towards replace BETWEEN. stepFrame routes through at most 2 linked in-between frames, and jump frames show at once.
  • Belly Up: the flop's hop is gone, so the roll passes lieside and roll.
  • PAUSE_MS is 8 to 25 s. A cat lies down after half its moves when nothing holds it, and never repeats its last move.
  • withApproach: drops the never-passed settleBack.
  • /about script: 58,002 to 58,368 bytes.
  • Known: a stalk pause shows the standing frame. There is no drawing of a standing cat with a paw raised.

Tested: npm run build, typecheck, check. Chromium plus node: about-cats, performance, no-script, motion, headers and image-size, 223 of 223. A 60 fps step of every move: no walk frame skipped at 60, 120 or 144 Hz. The longest slide of a still frame is now 18 px (pounce landing, unchanged from main), against 152 px on main.

Template port: sindurigf/astro-cat-portfolio#310

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feat-cats-motion-sinduri-lol.sinduri-g.workers.dev (commit ad84ba9)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a8c3dc17-sinduri-lol.sinduri-g.workers.dev ad84ba9 2026-10-25T12:56:46.265Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://44665942-sinduri-lol.sinduri-g.workers.dev 8fd9625 2026-10-25T12:25:35.057Z Visit the dashboard ↗

…loop idle, and that rests and picks keep to their rules.
@sindurigf

sindurigf commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner Author

Cats motion options. Each preview opens on a phone. Live /about moves frame for frame as it did before #391 and #392, so these change the old motion.

  1. Walk on the drawings, this PR (feat: Move the About cats on their drawings, through in-betweens, with long rests. #393): walks at the drawings' pace, in-between frames, rests of 8 to 25 s. +345 B.
    https://feat-cats-motion-sinduri-lol.sinduri-g.workers.dev/about/
  2. Calm (feat: Let the About cats only look round or stretch on their own. #396): on their own, the cats only look round or stretch, with long rests, often lying down. +185 B.
    https://design-cats-calm-sinduri-lol.sinduri-g.workers.dev/about/
  3. In place (feat: Keep the About cats where they stand on their own. #397): they play where they stand. No leaps, climbs or chases unless picked from the paw. +140 B.
    https://design-cats-in-place-sinduri-lol.sinduri-g.workers.dev/about/
  4. One playful cat (feat: Let only Rudra play on his own. #398): only Rudra plays on his own. Minerva and Hela look round or stretch. +59 B.
    https://design-cats-one-playful-sinduri-lol.sinduri-g.workers.dev/about/
  5. Press to play (feat: Let the About cats play only when their paw is pressed. #399): they sit or lie down on their own, and one press on a paw plays a trick at once. −2,169 B.
    https://design-cats-press-to-play-sinduri-lol.sinduri-g.workers.dev/about/

Recommended: 5. It is calm by default and fun in one press, and it is the smallest. It drops the trick list and Rudra's climb.

All five pass the preview check: no console errors or CSP violations, the card opens, the sleep control stops each cat within 5 s, and reduced motion removes the controls.

@sindurigf

Copy link
Copy Markdown
Owner Author

Superseded by #403, merged.

@sindurigf sindurigf closed this Oct 29, 2026
@sindurigf
sindurigf deleted the feat/cats-motion branch October 30, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant