This is my implementation of atan(x, y). This is used to find the direction from one area to another. In this example the direction is from the draggable circle to the mouse. Feel free to drag the dot and/or use this in your projects. This took me 50~ minutes to make(=