Red dots are control points I don't think its perfect, but it works ig
i looked at this https://javascript.info/bezier-curve Click the green flag to see another curve