Matt Webb uses ChatGPT as a tutor to learn quaternions for app development
Developer Matt Webb shared how he used ChatGPT as an interactive, patient tutor to learn quaternions for the augmented reality mode of his app, Galactic Compass 2. Instead of outsourcing the code generation, he used the AI to understand the underlying mathematics. This highlights a shift in how Large Language Models (LLMs) can be utilized, serving as personalized educational tools that enhance human understanding rather than just automation tools that replace thought. It shows that AI can push developers to expand their skills rather than making them dependent on generated code. Webb noted that while books and discussions with mathematician friends failed to help him grasp quaternions, the interactive nature of ChatGPT allowed him to learn just enough to implement 3D rotations for his app. This case study emphasizes the value of conversational AI in explaining complex, niche mathematical concepts.
## BACKGROUND
Quaternions are a mathematical notation system used to represent spatial orientations and rotations in three-dimensional space, which is crucial for 3D graphics and augmented reality. They are notoriously difficult to grasp compared to simpler 2D rotation methods or Euler angles, often presenting a steep learning curve for developers.