I'm working on a new project based off a code I found, the problem is the math seems to be way off. What should be a simple plus minus off center axis has a lot more fixes than I initially thought. The following image will show some of the challenges. Would prefer to speak with a js math expert in pm for a better understanding.
the edges of the first object are not set correctly for the edge of the boxes. Also there is a 14px difference from center on axis-x.
notice the gap? a 55px difference from center on axis-y.
Problems with tilt differences too...yet all these are cenetered on the size of the main container. Would like help in fixing math. Thanks in advance.