This uses --animate
which doesn't work with more than 3 frames when running in a docker container
spuder/openscad-dockerhub#2
openscad /dev/null -D '$vpt = [0,0,0];' -D '$vpd = 20; $vpr = [0,$t * 360,0];' -o 'foo.png' -D 'cube([2,3,4]);' --imgsize=250,250 --animate 360 --colorscheme "Tomorrow Night"
The following all work, but not very well