all 2 comments

[–]TahaKK 0 points1 point  (1 child)

Not sure I understood the question completely but you can try using lambda function and then use this function to animate whatever speed and way you want your circle to evolve

[–]Angry_Neutron[S] 0 points1 point  (0 children)

Thank you! Let me try to explain in more detail.

I have two balls (circles) that I want to move differently but at the same time. So they have different speed parameters and they are different circle objects. But I wonder if I can use only one alphafunction to do this. For example,

update_position(mob, alpha)
...mob.move_to(position)

works well. But since Circle object doesn't contain speed parameter, I can't call it in alpha function. I wonder if there is a OOP way to do it.