MatthewPeterKelly/fractal-renderer

Standardize JSON exporting

Open

#131 geöffnet am 7. März 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (0 Forks)github user discovery
buggood first issue

Repository-Metriken

Stars
 (6 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 16h) (6 gemergte PRs in 30 T)

Beschreibung

(1) When rendering an image, the parameters are written back to a file in the output directory alongside the rendered image and diagnostics. But, they are generated from the fractal-specific parameters (eg. BarnsleyFernParams), rather than the top-level FractalParams. This means, that if you try to directly pass them to the render command, without wrapping them in the type annotation, that the render command will fail.

(2) The explore mode only exports the ImageSpecification data to the JSON, but it should explore the entire FractalParams, with the updated image specification details.

Perhaps both of these can be fixed with a similar technique.

Contributor Guide