My own implementation of Prismata connection animation