Hi, I was learning processing and I was trying something with the co ordinates, and I am having trouble in aligning to the center of the display window, for reference I have attached the video.
In detailed explanation or example there are two circles starting to slide across X & Y axis,
so when the animation is triggered they will move across the screen and cross exactly at the center of the display window no matter of the ratio of the width and the height, like 500x500 or 500x700 or 700x500.