latkit-cli 0.2.1

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

latkit CLI

Draws latkit scenes of datasets into images, image sequences, raw frames, and videos, 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; 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":{"op":"gt","args":["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

Commands, inputs, frames, outputs, and diagnostics are in the documentation, and its examples are drawn by this CLI. The 70,000-bus fault and the WECC240 fault are made with Python and this CLI alone.