mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
5 lines
120 B
Python
5 lines
120 B
Python
![]() |
def updating_mobject_from_func(func):
|
||
|
mob = func()
|
||
|
mob.add_updater(lambda m: mob.become(func()))
|
||
|
return mob
|