MatthewPeterKelly/fractal-renderer

Standardize JSON exporting

Open

#131 建立於 2025年3月7日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (0 fork)github user discovery
buggood first issue

倉庫指標

Star
 (6 star)
PR 合併指標
 (平均合併 1天 16小時) (30 天內合併 6 個 PR)

描述

(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.

貢獻者指南