Quaternion rotation from angle

You might want to round the values. See my Robot Simulation / Rotation issues with the link to the project. In https://github.com/BITPlan/PI-Q-Robot/blob/c8d4ff619ace81da2e5ef414292a66cb9ee07388/web/js/three_basics.js you’ll find the class SceneDebug which uses class Debug and there is a function format that displays the values in a rounded form. If you need to change them use Math.round() or Math.floor(),