Description
There are many occurences in the Code where mobjects of different types are misused for their points. Don't get me wrong i think reusing code is perfectly fine but i think the generating of points should be a Math function instead of a Mobject which is deleted afterwards.
I would propose to move all of this code to a seperate module which has functions for generating points or doing math. That makes the mobjects much more independent of each other. For example the Line
mobject currently depends on Arc
and ArcBetweenPoints
for their points.
Im not sure where the right place would be to store those math functions because we have a lot of stuff in utils/
i would maybe suggest finding a place there.
manim/manim/mobject/geometry/polygram.py
Lines 188 to 211 in c4b40ed
Metadata
Metadata
Assignees
Labels
Type
Projects
Status