Chronorama is not packaged yet, so for now you should either clone or download this repository.
Chronorama requires the input to be in a specific format:
-
each line represents one time-step
-
on each line, points are numbers seperated by a space
For example, a correct input looks like this:
0.5 0.5 10 10 1.0 1.0 11 11
Chronorama gets its input from stdin and the output is seen from the browser at http://localhost:8899.
Example: running Chronorama with recorded data.
Here we assume that the file data.txt
contains valid data for Chronorama.
cat data.txt | make serve
Check http://localhost:8899 for the visualization.
Example: attaching Chronorama to a simulation
Here we assume that the python script sim-sincos.py
generates valid data on stdout.
python -u scripts/sim-sincos.py | make serve
Check http://localhost:8899 for the visualization.