Is this the right way to do animations? Frankly, I have no idea. I've never professionally programmed them in my life. It is up to the domain experts in the corresponding fields to see if the coroutines might be useful for them and to write libraries that provide API that are convenient for their domain.