const MaxSVGBytes
MaxSVGBytes: see docs/engines/giornate-v2.md for the measured sizes.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package giornate (v2, "Wall Scenes") is a Sinopia signature engine: a fresco wall with a real scene on it (a processi...
Package giornate (v2, "Wall Scenes") is a Sinopia signature engine: a fresco wall with a real scene on it (a procession, a gathering, an encounter at a city gate, an Annunciation, a lone saint or a landscape), caught mid-work. A fresco is painted on wet plaster one day-patch (giornata) at a time, from the top of the wall down. Finished patches show the scene in pigment; the rest of the wall still shows the same scene as the red-ochre sinopia underdrawing on the rough arriccio plaster, with its squaring grid, compass-drawn haloes and hatching. Where the painted plaster has fallen away (lacunae) the sinopia shows through again, as it does on real walls.
Every element of the scene is defined once in <defs> and drawn twice with <use>: filled in the painted layer, outlined in the sinopia layer. That keeps figure-heavy walls small.
Everything is integer maths (a 64-step quarter-sine table, truncating division), so the TypeScript twin in frontend/src/engines/giornatev2.ts is byte-identical. Two RNG streams come from the seed: seed+"|traits" decides the traits (cheap, no geometry: Traits never renders) and seed+"|art" draws the picture, so art draws never shift traits.
MaxSVGBytes: see docs/engines/giornate-v2.md for the measured sizes.
Manifest describes the engine. Author and FeeBps are set by the adapter.
Render returns the raw SVG for in.Seed under in.Params. Core validates params before every render; invalid params panic.
SVG renders a seed with the default (showcase) params.
SVGWith renders a seed under params as a standalone SVG document.
Traits returns the eight traits of in.Seed under in.Params. It never renders: one 7-draw RNG pass and a few table walks.
ValidateParams accepts "" and the canonical params JSON only.
TraitsOf decodes a seed with the default params.
TraitsWith decodes a seed under params; invalid params panic.
TraitSet is a decoded seed. The SVG builder and the trait list read the same struct, so picture and metadata cannot disagree.