this might be a basic question to you guys but me having very limited(near to none) applied math experience I am not sure to figure this out rightly.
I've two kind of curves cubic and quadratic and I need a function to randomize them. say for e.g I've cubic curve with 4 points than if I feed this 4 points to this function than it should be able to generate random curves based on this which are not necessarily need to be similar to this but should not weird either. basically it should follow normal distribution.
Edit 1: by 4 point I meant the visual representation of cubic curve achieved through these points.
Edit 2: here is the link of what I'm talking about https://docstore.mik.ua/orelly/java-ent/jfc/ch04_04.htm.
Edit 3: After pointed out by daniel I'm providing more detail here to make it clear to understand. its about bezier curve and its control points.
thanks in advance