# Change speed for Rock 3D?

**URL:** <https://discourse.slicer.org/t/change-speed-for-rock-3d/16443>\
**Category:** Development\
**Created:** [March 9, 2021, 1:48am UTC](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443 "2021-03-09T01:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [March 9, 2021, 1:48am UTC](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443/1 "2021-03-09T01:48:51Z")

</div>

Is there a way in Python to specify/change the speed for the Rock 3D view? I’ve found where to change the increment and length (little fuzzy on what increment does…) but I haven’t found a way to change how quickly it rotates. Is this possible?

Thanks!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 9, 2021, 2:03am UTC](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443/2 "2021-03-09T02:03:09Z")

</div>

These are all the variables that control speed and range of rock and spin:

> <https://github.com/commontk/CTK/blob/9a9573ec4e0653ee96fe02823ac7ee66b40d3b44/Libs/Visualization/VTK/Widgets/ctkVTKRenderView.h#L39..L49>

If you find these insufficient then have a look at the implementation in the cpp file and suggest what else should be made configurable.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [March 9, 2021, 2:19pm UTC](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443/3 "2021-03-09T14:19:15Z")

</div>

`animationIntervalMs` is what I was looking for.

THANKS!
