@@ -0,0 +1,201 @@
+from math import sqrt%0A%0A%0Adef vector_object_object(a, b):%0A    return %5Bb.x - a.x, b.y - a.y%5D%0A%0A%0Adef mag(v):%0A    return sqrt(v%5B0%5D*v%5B0%5D + v%5B1%5D*v%5B1%5D)%0A%0A%0Adef norm(v):%0A    m = mag(v)%0A    return %5Bv%5B0%5D/m, v%5B1%5D/m%5D%0A

Add vector math