Original Post by Rasius

Rasius
2026-04-27T08:32:07+00:00
Open

Separate JSON for scene definitions and visual representation.

1 vote, 1 comment

Separate JSON for scene definitions and visual representation.

E.g. I would like to define a scene with a set of sources in specific locations/sizes, but have an easy way to swap their visual design - colors, fonts, borders, etc.

Suggested implementation:

Hierarchical JSON files:

using Deep Merge

values, defined in visualization.json, override values in scenes.json

Context:

I have scene collection/scripts that I’m sharing on github for diving competition streaming with score overlays. I would like to share with generic color scheme (instead of our club color scheme), but that means maintaining two or more complete scene collections. If I want to move or change some components, I have to make identical changes to all collections (getting this done with diff tools is almost impossible).