Skip to content

Make the demo smooth: 30fps video on the site, 12fps GIF in the README - #45

Merged
Necromancervbh merged 40 commits into
mainfrom
claude/game-automation-ideas-d97rgk
Sep 29, 2026
Merged

Necromancervbh merged 40 commits into
mainfrom
claude/game-automation-ideas-d97rgk

Conversation

@Necromancervbh

Copy link
Copy Markdown
Owner

The old demo GIF felt laggy. It was stitched together from individual screenshots, which only captured about 6 frames per second at uneven intervals.

Now the demo is recorded as real video, using Playwright's screen recorder. It includes a visible cursor that glides to each button, so you can follow along.

File Used by Details
demo.webm website (Chrome, Firefox, Edge) VP9, 30 fps, 1200×760, 0.5 MB
demo.mp4 website (Safari, iPhone) H.264, 30 fps, faststart, 0.7 MB
demo-poster.jpg website shown until the video starts
demo.gif README re-encoded at 12 fps, 800 px, tuned 96-colour palette, 2.9 MB

The landing page now uses <video autoplay muted loop playsinline> with both sources and falls back to the GIF. muted and playsinline are what let it autoplay on phones. The caption now says "Twelve seconds", to match.

The GitHub README can't play a video file from the repo, so it keeps a GIF, but a much smoother one.

Checked: in Chromium the video autoplays (it picks demo.webm, 1200 px wide, 12 s long, and was playing at 2.5 s), with no console errors.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf


Generated by Claude Code

Three quests a day, picked with a per-day seed, pay bonus XP once each.
Progress comes from combo runs and forging, and shows in a new panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A one-page site in docs/ (how it works, features, screenshots, download
steps). Serve it with Settings > Pages > main, /docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The quests panel shows the time until local midnight and reloads the new
set when the day changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A rare IF card (level 3) that lets a combo continue only N% of the time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Same change as Dependabot's #31, which conflicted after #30 landed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Tidy Up moves files older than N days out of a folder without
overwriting. Snapshot saves a screenshot (screencapture, PowerShell, or
grim/gnome-screenshot/spectacle/scrot/import) and hands it to later cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Fires once when you've been idle N minutes, or when you come back after
that long. Idle time comes from ioreg (macOS), GetLastInputInfo
(Windows), or GNOME's IdleMonitor / xprintidle (Linux).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A THEN card that runs another combo by name, passing the trigger's file
along. Loops (A -> B -> A) are refused and chains stop at 5 combos. The
forge suggests existing combo names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Synthesized with Web Audio (no audio files): a coin per run, a low note
on failure, chimes for achievements and quests, a fanfare on level-up.
The header's speaker button mutes it and the choice is remembered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The engine counts runs, failures and time saved per day (60 days kept).
The new stats button shows totals, a bar chart with hover details and a
table view, and the busiest combos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Levelling up shows a pack with the cards that level unlocks. Clicking it
tears it open, the cards flip in one by one, and clicking a card drops it
into the forge. Animations are skipped with prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Loads a starter recipe, forges it, presses Play, levels up and opens the
card pack (38 frames, 800px, about 0.9 MB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A 'See it in action' section under the hero shows the GIF in a small app
window with the four steps below it. The features grid gains card packs
and stats/combo chains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The old GIF was built from slow screenshots (about 6fps), so it looked
laggy. The demo is now recorded as real video: the landing page plays a
30fps WebM/MP4 (0.5/0.7 MB, with a poster and a GIF fallback), and the
README GIF is re-encoded at 12fps with a tuned palette.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: d056bf40-fe56-4f28-987a-2789b6ad8d5c


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Necromancervbh
Necromancervbh merged commit 824614c into main Sep 29, 2026
7 checks passed
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.

2 participants