Skip to content

Recipe Format

m4bwav edited this page Nov 14, 2026 · 2 revisions

Every render writes a recipe next to its PNG. Feeding the recipe back to fw.py render draws the same picture. This is the recipe render seahorse --size 640x360 wrote, with short arrays put on one line:

{
  "fractalwright": "0.1.0",
  "family": "escape-time",
  "formula": "mandelbrot",
  "params": { "power": 2, "bailout": 256, "max_iter": 1000 },
  "view": { "centre": ["-0.7436447860", "0.1318252536"], "width": "0.0001", "rotation_deg": 0 },
  "size": { "w": 640, "h": 360, "supersample": 1 },
  "colouring": { "method": "smooth", "density": 0.02, "inside": "#000000" },
  "palette": { "type": "cosine", "a": [0.5, 0.5, 0.5], "b": [0.5, 0.5, 0.5], "c": [1, 1, 1], "d": [0.0, 0.33, 0.67] },
  "seed": 0,
  "render": { "route": "numpy", "precision": "float64" },
  "ai_pass": null
}

Fields

  • family, formula: what is drawn (escape-time with mandelbrot, julia, burning ship, tricorn or multibrot; or kronecker).
  • params: formula settings. A bailout of 256 keeps smooth colouring free of bands.
  • view.centre and view.width are strings, so deep coordinates keep every digit.
  • size.supersample: samples per pixel side.
  • palette: cosine (a + b cos(2 pi (c t + d))) or stops (colour stops).
  • render: the route and precision used. float64 NumPy is the reference route.
  • ai_pass: null for an exact render. A video's AI styling pass writes its own recipe with ai_pass filled in and marked interpreted, so an interpreted picture is never mistaken for an exact one.

The repository's banner and social image have their recipes beside them in .github/images/.

Clone this wiki locally