Questions about programmatically controlling Desmos 3D camera rotation

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:

  1. Does the Desmos 3D API provide any supported method to programmatically control the camera orientation?

  2. Is it possible to set the 3D camera’s rotation using a quaternion, rotation matrix, or axis-angle representation?

  3. Does Desmos support programmatic camera zoom?

  4. 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

This question is about the Desmos calculator and doesn’t really apply to Amplify Activity Builder. You’ll find better support at https://help.desmos.com/hc/en-us. There’s a “Submit request” button at the bottom to start a support ticket. I also recommend checking out the Desmos subreddit. A lot of knowledgable graph users on there who may have more prompt answers.