How GhostCursor generates human-like movement
masterGhostCursor uses Bezier curves to create smooth, non-linear paths between points. To avoid the 'wonky' look of standard cubic curves, it picks random control points on only one side of the line.
Additionally, it uses Fitts's Law to calculate mouse speed and the density of points in the path, adjusting based on the distance to the target and the size of the element being interacted with.