GOAL: to draw an interactive cubic B-spline curve.
DUE: 11:59pm 27 May
SUBMISSION: send your python code (two files) to me via an e-mail.
A sample pyton files
(courtesy of Hyunjun Kim)
You need to draw two separate cubic B-spline
curves each defined by the following knot sequences.
Figure out yourself the number of curve segments for each case.
Draw each curve segment in different color so that they can be easily
When the control polygon is modified
the curve also needs to be updated accordingly.