def parallel_anims(anims):
    """Combines animations in anims to a single animation,
    where the animations run simultaneously"""
    def func(ctx, time):
        for anim in anims:
            anim(ctx, time)
    return func