working on ring animation in canvas