Best practice to rotate Mobjects -> Idea DeltaValueTracker #2789
Replies: 2 comments
-
I really like the idea. I guess the |
Beta Was this translation helpful? Give feedback.
-
I chose an extra class for this, because saving the previous value is one extra calculation and could slow down Valuetracker a bit. But when then this is not the case, yes, then we can also directly implement this feature in ValueTracker. To your second point, in case that rate_func=linear you are right, then the delta is constant, however, when we have e.g. rate_func=smooth, then the delta is not constant anymore. |
Beta Was this translation helpful? Give feedback.
-
I found currently 5 ways rotate Mobjects in manim, but they are all not very satisfying when one wants to use normal ValueTrackers. Here is the example:
1e062afd924abf52d646d92f29347aa7161ec086.mp4
Therefore I had the idea of an DeltaValueTracker, which could look like this:
Any help on this idea is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions