There are multiple pages for toss transitions, but they all use the same source code.
Now that you know where to get the transition code from, you’ll be able to carry on from here.
You may want to consider creating it as a custom transition, so that you can upgrade the cycle code as it improves over time, without affecting your own customizations.