source code on github

spread - the amount that control points are spread around origins
rotate - the amount each exit point rotates around the origin
input
output