You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linear curve is `B(t) = (1 - t) P0 + t P1`. The quadratic curve is `B(t) = (1 - t) ((1 - t) P0 + t P1) + t ((1 - t) P1 + t P2)`. It's `B(t) = (1 - t)^2 P0 + 2 (1 - t) t P1 + t^2 P2` compactly. And for the direction, the first derivative is `B'(t) = 2 (1 - t) (P1 - P0) + 2 t (P2 - P1)`.
80
83
81
-
Linear curve is `B(t) = (1 - t) P0 + t P1`. The quadratic curve is `B(t) = (1 - t) ((1 - t) P0 + t P1) + t ((1 - t) P1 + t P2)`. It's `B(t) = (1 - t)^2 P0 + 2 (1 - t) t P1 + t^2 P2` compactly. And for the direction, the first derivative is `B'(t) = 2 (1 - t) (P1 - P0) + 2 t (P2 - P1)`.
84
+
`Spline` has been implemented as cubic curve. Each point has incomming handle and outgoing handle.
0 commit comments