always() and f_always() #3861
Unanswered
jengelbertt
asked this question in
Q&A
Replies: 1 comment
-
d = Dot()
sq = Square()
always(d.next_to, sq, UP)
def calc_pos():
sq.get_center()
sq = Square()
d = Dot()
f_always(d.move_to, calc_pos) Admittedly, this is not very intuitive, so #3852 was introduced to make the syntax for d = Dot()
d.always.next_to(sq, UP) Hopefully, if the devs can find the time, it will be included in Manim v0.19.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please write an example of the use of always() and f_always(). I am completely confused.
Are these two methods available via Mobject?
Beta Was this translation helpful? Give feedback.
All reactions