atan2() फ़ंक्शन दो स्थितियों के बीच के कोण की गणना करता है। यह कोण गणना का उपयोग किसी आकृति को किसी चीज़ की ओर घुमाने के लिए किया जा सकता है। इस में उदाहरण के लिए, आंखें कर्सर को देखने के लिए घूमती हैं।
उद्देश्य: Revised by Darren Kessner, Malay Vasa. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.
You can find the code history of these examples here: pre-2023 example, 2023 code. You can suggest improvements by contributing to the current website!