Commit Graph
7 Commits
Author SHA1 Message Date
survandClaude Sonnet 5 7c7ca37c4b feat: add a headless mode, driven by clap CLI args
--headless renders the current view straight to a PNG and exits, with
no window/event loop: it builds its own offscreen wgpu device and reuses
the same reference-orbit + ExportRender path as the "Export PNG" button.
--width/--height set the output resolution (default 1920x1080); not yet
supported with --buddhabrot.

Refactors FractalApp::new's state construction and CLI handling into
default_state()/apply_cli() so headless mode can reuse them, and factors
the PNG tile-render/readback/encode loop into a shared
export_to_png_blocking() used by both the windowed export path and
headless.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018GFBP9qrNg6NGJWzzP36xe
2026-09-19 18:03:54 +02:00
survandClaude Sonnet 5 ff5ac0f262 feat: add clap CLI arg parser, replacing MANDEL_* debug env vars
Prep work for a headless render mode: native debug flags (kind, power,
julia, share, view, de, buddhabrot, export, ...) are now parsed with
clap instead of read from env vars, with proper --help/--version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018GFBP9qrNg6NGJWzzP36xe
2026-09-19 17:51:03 +02:00
surv 2cd06c4219 feat: add shadow coloring 2026-09-18 11:01:29 +02:00
surv 0b90b72a00 feat: remove warning and increase performance 2026-09-16 20:14:39 +02:00
surv 9e9641891e feat: distance-estimation shading for crisp deep-zoom filaments 2026-09-15 15:50:57 +02:00
surv f9a51fd2d7 feat: add PNG encoding progress bar 2026-09-15 10:42:39 +02:00
surv 09d7976ebd First commit 2026-09-15 08:55:18 +02:00