Processing Foundation
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
Acos() not giving angles between PI/2-3PI/2
Coding Questions
2
420
November 15, 2019
Spherical Coordinates and Angle back to Origin?
Coding Questions
2
213
November 19, 2022
Rotate and translate
Coding Questions
6
453
May 21, 2019
Mapping PVector heading() to another range
Coding Questions
2
171
October 18, 2023
How do I measure the angle of a vertex?
Coding Questions
4
632
January 23, 2022