I am working on a design where I would like to position header elements along a curve. Example:

Typically I would do this manually using CSS, but in this case there can be a dynamic number of items.
I’m curious if anyone knows of a way to place a dynamic number of items along a curve? I’m guessing it would require a way of specifying an equation that defines what the curve should be (notice that the curve above peaks right of center…) and then place items spaced evenly on that.
Has anyone done this before? Any recommendations on where to start?
A simple way to specify a curve is using a Bezier cubic.
The curve starts at
t=0, (x0, y0)tangent toward(x1, y1)and arrives att=1, (x3, y3)coming tangent from(x2, y2).For
t=0the function returns the starting point(x0, y0), fort=1the function returns the ending point(x3, y3). Values oftbetween 0 and 1 are points along the curve (they’re smoothly but not equally spaced however). You can think totas a “time” parameter of a point moving along the curve.Following this link is possible to see an interactive version implemented in javascript/canvas (the example uses letters A, B, C and D instead of 0, 1, 2 and 3 to mark the different points).