Skip to content

fractal_zoomer: single Mandelbrot mode with continuous auto-zoom and subtle center drift#318

Open
smcga wants to merge 3 commits intomainfrom
codex/improve-fractal-zoomer-effect
Open

fractal_zoomer: single Mandelbrot mode with continuous auto-zoom and subtle center drift#318
smcga wants to merge 3 commits intomainfrom
codex/improve-fractal-zoomer-effect

Conversation

@smcga
Copy link
Copy Markdown
Owner

@smcga smcga commented Apr 5, 2026

Motivation

  • Simplify the effect and improve the visual zoom behavior by removing multiple fractal types and making the zoomer animate itself over time.
  • Keep the effect useful for timeline automation while making it visually alive even when zoom isn't being changed interactively.

Description

  • Removed setType branching and Julia/BurningShip code paths so fractal_zoomer renders a single Mandelbrot-style fractal (src/renderer/effects/fractalZoomer.ts).
  • Added time-driven automatic zoom (autoZoom) and subtle center drift (centerX/centerY offsets) in buildFractalZoomerState so the effect continuously zooms and moves even without manual zoom edits.
  • Updated the debug manifest controls and docs (src/renderer/effects/manifest/fractal_zoomer.manifest.ts, README.md) to remove the setType selector and describe the new built-in zoom motion, and regenerated docs/effects.md.
  • Added a unit test to assert automatic zoom/center animation and adjusted existing tests to match the simplified parameter set (src/renderer/effects/fractalZoomer.test.ts).

Testing

  • Ran npm run docs:effects and regenerated docs/effects.md successfully.
  • Ran npm run docs:check and the effects/transitions docs tests passed.
  • Ran npm run test -- src/renderer/effects/fractalZoomer.test.ts and the fractal zoomer tests passed.
  • Ran the full npm test suite and all tests passed (all updated tests included succeeded).

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codexperimental Ready Ready Preview, Comment Apr 5, 2026 6:44pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant