# 3D object rotation in Makie doesn't seem to work well on wide aspect ratio monitors

**URL:** <https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582>\
**Category:** General Usage\
**Tags:** makie, 3d\
**Created:** [January 14, 2022, 12:52am UTC](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582 "2022-01-14T00:52:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianguenter](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brianguenter/32/29519_2.png) [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Post date:** [January 14, 2022, 12:52am UTC](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582/1 "2022-01-14T00:52:18Z")

</div>

On my 21:9 aspect ratio monitor the rotation increment angle is so large that the teeniest movement of the mouse makes the object rotate by such a large angle that it is impossible to orient objects the way you want them.

It appears that the smallest angle I can rotate a 3D object by is on the order of 30-40 degrees, maybe more.

Has anybody else had this problem with Makie on wide aspect ratio monitors?

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [January 14, 2022, 1:31am UTC](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582/2 "2022-01-14T01:31:08Z")

</div>

If you’re using an `LScene` you can adjust `cameracontrols(ax.scene).attributes.mouse_rotationspeed[] = 0.5f`

---

<div class="post-metadata">

**Author:** ![brianguenter](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brianguenter/32/29519_2.png) [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Post date:** [January 14, 2022, 7:58pm UTC](https://discourse.julialang.org/t/3d-object-rotation-in-makie-doesnt-seem-to-work-well-on-wide-aspect-ratio-monitors/74582/3 "2022-01-14T19:58:16Z")

</div>

@ffreyer I tried your suggestion but it didn’t seem to have any effect. I tried .5f0 and then .01f0 when the first value didn’t do anything. The view still jumped around with the smallest mouse movement. Is there something else that needs to be done?

Here is the code I modified to include the mouse rotation speed change. The variable `lscene` is of type `Makie.MakieLayout.LScene`.

```julia
function draw!(ob; kwargs...)
    if current_3d_scene === nothing
        scene, lscene = Vis.scene()
    else
        scene = current_main_scene
        lscene = current_3d_scene
    end
    Makie.cameracontrols(lscene.scene).attributes.mouse_rotationspeed[] = 0.01f0
    draw!(lscene, ob; kwargs...)
    display(scene)

    if (get_current_mode() == :pluto || get_current_mode() == :docs)
        return scene
    end
end

```
