Hello,
To rotate a Meshes.jl graphic, I do:
fig, ax, plt = MeshViz.viz(
Meshes.Box(Meshes.Point(-2.5, -2.5, -0.5), Meshes.Point(2.5, 2.5, 1.5));
alpha = 0
) # bounding box to fix the frame
ax.show_axis = false
draw(i) # my function which draws frame number i
Makie.scale!(ax.scene, 1.6, 1.6, 1.6)
Makie.rotate!(ax.scene, 1.5, 0, 0)
But I go blindly. I’d like to render the interactive graphic, to rotate it with the mouse until I get a satisfactory orientation, and then to get the parameters of this rotation, in order to pass them to Makie.rotate!
. Is it possible to print the rotation parameters while moving the interactive graphic?
I hope my question is clear…