Include script / notebook for generating visualizations / animated GIFs
@Qwlouse note this goes quite nicely as a (final) follow-up to the edits in: https://github.com/google-research/kubric/pull/103
More specifically contributing a new example/metadata.py and the corresponding docs/source/3_metadata.rst?
I don't see any example/metadata.py in any of the public branches.
I'm currently using this simple bash script to create a stitch similar to the one in the readme.

#!/bin/bash -ex
DELAY=20
for i in $(ls output/pics/rgba_* | grep rgba_ | cut -d_ -f2 | cut -d. -f1); do
montage -font DejaVu-Sans-Mono -label %t -tile 4x2 -geometry 333x333 output/pics/*_$i.png output/pics/concat_$i.png
done
for gif in rgba segmentation depth backward forward normal object concat; do
convert -delay $DELAY -loop 0 output/pics/${gif}*.png output/${gif}.gif
done
I'd like to make the RGBA bigger (like in the readme) but I don't know how to do that with just convert and montage.
I'd be interested in the script used to generate that readme gif; I suppose it's some function calling the kubric.plotting submodule, but I don't see the main function anywhere.