https://github.com/marimo-team/gallery-examples/blob/main/notebooks/math/vector-puck.py
Drag the two pucks to define vectors A (blue) and B (orange). Pick an operation from the dropdown to see the result (green).
A = (1.00, 2.00), |A| = 2.24, θ = 63.4° B = (2.00, -1.00), |B| = 2.24, θ = -26.6° A + B = (3.00, 1.00), |A+B| = 3.16