tsParticles - v4.6.0
    Preparing search index...
    • Gets the signed deltas and Euclidean distance between two coordinates. Use getDistanceSq for squared distance comparisons.

      Parameters

      Returns { distance: number; dx: number; dy: number }

      the signed deltas and distance between the two coordinates