How to parameterize a form into a circle

First of all how i can draw in code the form of the left, and then how i can repited it in a circle or other type of curve.

You can use Flow

For the curve on the left, Rhino is enough, use control points

uau amazing, thanks laurent. You are the best!!!

I couldn’t do