latkit-cli 0.12.0

Render latkit scenes of JSON or binary data to images and videos.
latkit-cli-0.12.0 is not a library.

latkit CLI

Renders latkit scenes to images, image sequences, raw frames, and video on the machine's GPU, with the same renderer as the browser package. Inputs are latkit's JSON, so any language can write them. The package is latkit-cli and the executable is latkit.

cargo install latkit-cli
latkit validate scene.json -d grid.json
latkit render scene.json -d grid.json -o grid.png --size 2400x1350 --scale 2
latkit render scene.json -d grid.json --frames frames.jsonl --fps 60 -o film.mp4
latkit query grid.bin '{"of":"Branch","filter":{"gt":["$loading",90]},"limit":20}'
latkit tile history.bin -o history/   # time tiles a view fetches in spans: --tiles grid=history/frames.json
latkit schema scene > scene.schema.json

The documentation covers commands, inputs, frames, outputs, and diagnostics. This CLI draws all of its examples. The 70,000-bus fault and WECC240 fault videos are made with only Python and this CLI.