[Solved] Computer Graphics-Lab Assignment 11

$25

File Name: Computer_Graphics-Lab_Assignment_11.zip
File Size: 329.7 KB

SKU: [Solved] Computer Graphics-Lab Assignment 11 Category: Tag:
5/5 - (1 vote)

Computer Graphics, Lab Assignment 11

+ LabAssignment2/

+ 1/

  • py

+ 2/

  • py

+ 3/

  • py
  • The submission time is determined not when the commit is made but when the git push is made.
  1. Write down a Python program to visualize a Bezier curve.
  2. Start from uploaded LabAssignment11-1-code-skeleton.py, modify this program to draw a Bezier curve instead of a line
  3. About LabAssignment11-1-code-skeleton.py:
    1. It draws a line segment between two end points.
    2. You can drag the end points.
  4. In your modified program, control points p0, p1, p2, p3 should be draggable and rendered in green.
  5. Draw the edges of the control polygon in green as well.
  6. Initial value of control points:

p0 = np.array([100.,200.]) p1 = np.array([200.,300.]) p2 = np.array([300.,300.])

p3 = np.array([400.,200.])

  1. Set the window title to your student ID and the window size to (480,480).
  2. Expected result: Uploaded LabAssignment11-1.mp4
  3. Files to submit: A Python source file (Name the file whatever you want (in English). Extension should be .py)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Computer Graphics-Lab Assignment 11
$25