[PySpace] Add CLI options (fractal, size, quality) and an offline render mode
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 66/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- cli, computer-graphics
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ibra-kdbra/Math-Problems#367 ·
Todos los issues de ibra-kdbra/Math-Problems
Issues similares
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100