I am trying to write a program to draw a bezier curve segment implementing the knowledge from my textbook. I wanted to try making a drawing program to draw something using implicit functions. I want my program to work as follow.
- user input an implicit function, let's say y=2x^3.
- calculate control points (don't know how to do)
- draw bezier curve (done)
- next function
Theoretically, I can draw the curves by direct substitution, but I might do some modifications to the curve and I want to implement what I have learnt, so, I wanted to do it wisely(direct substitution seems dumb).Thz^^
Edit 1 : Let's assume the boundaries were provided by the user
x
andy
are both unbounded. – Mark Ransom