[PySpace] Add CLI options (fractal, size, quality) and an offline render mode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 66/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- cli, computer-graphics
Direzione di ricerca
Start with PySpace/ray_marcher_demo.py, especially the hard-coded settings at lines 22, 25, 255, and 264–266 and the per-frame FPS print at line 469. Read how the current loop selects fractals, configures the camera and handles frames; then try the documented xvfb-run command. Done means the listed options work, rendering one frame creates out/frame0000.png, and the process exits successfully.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Choosing a fractal, window size or camera quality requires editing the script. The main loop also prints the FPS to stdout every frame. A small CLI and a headless "render N frames to PNG" mode would make the project easy to demo, screenshot for the docs, and smoke-test in CI.
Location
PySpace/ray_marcher_demo.py:22,25,255,264-266(hard-coded size, fps, fractal, camera)PySpace/ray_marcher_demo.py:469(print(clock.get_fps())each frame)
Evidence
A 30 s run printed 61 lines of output, most of them a bare FPS value (1.2556504011154175).
Expected
python ray_marcher_demo.py --fractal mandelbox --size 1280x720 --aa 2 works, and --render out/ --frames 1 writes a PNG and exits.
Proposed fix
Add argparse with --fractal {infinite_spheres,butterweed_hills,mandelbox,mausoleum,menger,tree_planet,sierpinski_tetrahedron,snow_stadium,test_fractal}, --size, --fps, --aa, --render DIR --frames N. Show the FPS in the window caption instead of printing it.
Acceptance criteria
- Each example fractal selectable from the CLI
-
xvfb-run -a python ray_marcher_demo.py --fractal menger --render out --frames 1writesout/frame0000.pngand exits 0
Repository audit, November 2026 · Phase 9 · New features · evidence: reproduced · ref fractals-equations-037
Generated by Claude Code
- Lingua principale
- C++
- Stelle
- 2
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ibra-kdbra/Math-Problems#367 ·
Tutte le issue di ibra-kdbra/Math-Problems
Issue simili
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backApertadifficulty:easy prio:low type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NatronGitHub/openfx-supportext#311 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CachyOS/packageinstaller#211 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100