While moving the vertices of a shape on mouse move works well, applying a rotation to the shape causes the vertices to move along the wrong axis.
If you'd like to see the issue in action, check out this codesandbox.io link: https://codesandbox.io/embed/gatsby-starter-default-l16ui
To address the problem, focus on two key files - index.js in the page directory and shape.js in the components directory.
When moving your cursor around the screen, you'll notice the shape reacts, but not in the way you'd expect. To reset the rotation, set radiansY to 0 and observe the correct cursor interaction with the shape.
An update has been made: the Code Sandbox now features added vector conversion from world to local space in shape.js at line 47. However, this adjustment has caused all shapes to congregate in one spot.
const changedPoint = self.worldToLocal(point.clone())