CS155 Computer Graphics

Parametric Curves Introduction



This brief tutorial is intended to provide some intuition for parametric curves. To begin, download the source file main.cpp then compile and run it.

On the left hand side of the window are cubic polynomials x(t) and y(t). On the right hand side of the window is the parametric curve (x(t),y(t)). Press 'a' to provide an animation showing x(t), y(t), and (x(t),y(t)) for increasing values of t. If needed, you can change the speed of animation by pressing the 's' key. You can also pause and restart the animation with the space bar. Try rotating the x(t) curve to see if another orientations is more intuitive.

  1. Explain why the parametric curve is only a single point.




  2. Press '?' to print the coefficients of x(t) and y(t). Press 'x' to change the coeefficients of x(t) so that the parametric curve is more than a point. Can you create a non-linear curve without changing the coefficients of y(t)?




  3. Play with the coefficents of x(t) and y(t) to create a curve with as much wiggle as possible.