A community-maintained Python framework for creating mathematical animations.
Fixed small bug in Arc, where end and start were swapped in adding tips
Sridhar Ramesh9927f2264531
diff --git a/topics/geometry.py b/topics/geometry.pyindex ec1b3f73f..64b3bce1f 100644--- a/topics/geometry.py+++ b/topics/geometry.py@@ -45,7 +45,7 @@ class Arc(VMobject):#TODO, do this a better wayp1 = p2 = p3 = p4 = Nonestart_arrow = end_arrow = None- if at_start:+ if at_end:p1, p2 = self.points[-3:-1]# self.points[-2:] did overshootstart_arrow = Arrow(@@ -55,7 +55,7 @@ class Arc(VMobject):)self.add(start_arrow.split()[-1]) # just the tip- if at_end:+ if at_start:p4, p3 = self.points[1:3]# self.points[:2] did overshootend_arrow = Arrow(