Hello Desmos Developers,
I am a student from India working on an educational project that combines computer vision, mathematics, and 3D visualization.
I am developing a Python application using MediaPipe Hand Landmarker and PyQt6 to control the Desmos 3D Graphing Calculator using hand gestures.
My goal is to implement:
-
Hand-controlled 3D camera rotation
-
Virtual trackball-based rotation
-
Rotation around arbitrary 3D axes (X, Y, Z)
-
Hand-distance-based zoom
-
Smooth and adaptive gesture control
Currently, I can detect hand landmarks successfully and send mouse events to Desmos using Chrome DevTools Protocol. However, I am unable to achieve reliable gesture-based rotation and zoom.
I would like to ask:
-
Does the Desmos 3D API provide any supported method to programmatically control the camera orientation?
-
Is it possible to set the 3D camera’s rotation using a quaternion, rotation matrix, or axis-angle representation?
-
Does Desmos support programmatic camera zoom?
-
Is there a recommended approach for implementing external gesture-based camera control?
I would greatly appreciate any technical guidance or documentation you could share.
Thank you for developing such a wonderful mathematical visualization tool.
Best regards,
A student and aspiring developer