Processing Community Forum
Understanding the Atan2, Please help
Processing
Beginners
CodeMasterX
January 9, 2021, 7:20pm
6
you need to swap from
atan2(y1-y2,x1-x2)
to
atan2(y2-y1,x2-x1)
Let the image object move in different directions
show post in topic
Related topics
Topic
Replies
Views
Activity
Rotate and translate
Coding Questions
6
461
May 21, 2019
Acos() not giving angles between PI/2-3PI/2
Coding Questions
2
421
November 15, 2019
Mapping PVector heading() to another range
Coding Questions
2
173
October 18, 2023
2d camera in processing
Project Guidance
3
565
November 24, 2021
[SOLVED] Need help with rotations
Processing.py
2
402
January 27, 2019