Dolly is a tool to allow for precise movement of the camera in Cesium, for use in creating storyboards with the Grip.
dolly.js
adds a pile (yes, that's the technical term) of keybindings to allow the camera to be moved around in Cesium. This allows you to precisely frame shots to later be used in the construction of a storyboard.
Please refer to the readme for instructions on how to install CSTAR.
Link the dolly.js
script somewhere in your HTML:
<script src="path/to/cstar/js/dolly.js"></script>
Then, later in your javascript, instantiate and attach the exposed Dollyr
object:
var dolly = new Dolly();
dolly.attach();
On Dolly#attach()
, the dolly will register the following key bindings:
Key | Action |
---|---|
Left arrow |
Pan left |
Right arrow |
Pan right |
Up arrow |
Tilt up |
Down arrow |
Tilt down |
Z |
Roll left |
X |
Roll right |
W |
Dolly forwards |
S |
Dolly backwards |
A |
Truck left |
D |
Truck right |
E |
Pedestal down |
Q |
Pedestal up |
H |
Reset view to home |
` (accent grave) | Hold to maintain constant distance |
Handy dandy chart describing camera movement terminology: