No description
Find a file
Claude f527a712be
Implement neighbor-sum-avoidance polish + new computing-pi interactive
neighbor-sum-avoidance (T2-T6):
- Start button now reads just "Start" (no mode suffix).
- Available numbers and shuffled preview arrangements render pre-start
  so the arena isn't empty while the user is still deciding.
- Mode switch + count slider stay mounted once active; they're just
  disabled, so starting no longer causes a layout jump.
- Guided-mode instructions expanded to call out light grey edges, red
  violation arcs, and the green valid-neighbor line explicitly.
- Draggable numbers honor isActive for the draggable attribute and
  onDragStart, showing opacity-60 + cursor-not-allowed when locked.

computing-pi (new interactive under Miscellany):
- N parallel first-passage simulations: toss until heads > tails,
  record the fraction. Average × 4 converges to π.
- Header row: runs slider | live average × 4 | Start/Reset.
- Tile grid uses a mask-gradient marquee so long sequences scroll
  their tail while staying readable.
- Click any tile once all runs complete to see the full toss sequence
  in a Dialog.
- Safety cap of 1000 tosses per run (first-passage time has infinite
  expectation, so without the cap a pathological run could block).
- Registered in interactives.ts + InteractiveRenderer + the parallel
  interactive-components map. Filled in three-bank-accounts in the
  latter while there, since it was missing.

admin-data.json updated to mark T2-T6 done with remarks, remove the
implemented Computing Pi idea, and add an implementation note.
2026-04-21 11:58:45 +00:00
netlify/functions admin: descriptive commit messages + dev-mode sync fallback 2026-04-19 18:26:27 +05:30
public Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
scripts Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
src Implement neighbor-sum-avoidance polish + new computing-pi interactive 2026-04-21 11:58:45 +00:00
.gitignore Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
astro.config.mjs Switch to standalone Netlify Function for admin API 2026-04-17 03:44:01 +05:30
CLAUDE.md CLAUDE.md: document Fizzy todo/idea mirror workflow 2026-04-21 11:12:45 +00:00
components.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
components.json.bak Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
eslint.config.mjs Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
LICENSE Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
netlify.toml trigger redeploy for env var update 2026-04-17 03:53:04 +05:30
package-lock.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
package.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
README.md Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
tsconfig.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30

Hatch Astro Template

Hatch Astro Template is a premium template built by https://www.shadcnblocks.com

Screenshot

Hatch Astro Template screenshot

Getting Started

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Tech Stack

  • Astro
  • Tailwind 4
  • shadcn/ui

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform