A remake of a previous block, Dynamic Globe Rotation, but with Fil’s d3-inertia module.
TODO:
Currently, you must wait for the globe to come to a complete stop before you can adjust any of the range sliders. It would be cool if you could adjust one of the angles even as the other two continue on their paths.
UPDATE Fixed, thanks to Fil! This fix doesn’t let you stop only one angle of the inertial movement while the other two continue, but it’s an improvement.
if (inertia.timer) inertia.timer.stop();
Currently, the range sliders just behave like normal range sliders – when you release the slider, it stops moving, no matter how fast you slide it. It would be cool to somehow add inertia to the behavior of the range sliders.