How can I make the two graphs below (shown in the video min7:00 )with grasshopper.

Posting a link with the time in seconds at the end of the link takes you there directlyâ€¦

I have the graph above and I need to make the two graphs below ( wrap it up around the circle and the x- coordinate center of mass) so that the number of cycles can be parameterized