Q1: Write an OpenGL routine to draw concentric circles using Bresenham’s midpoint circle algorithm. The output should appear like the following: Q2: Create a quadrilateral and apply composite transformations, that is Scale and translate the object before rotating it to 270 degrees. Apply non uniform scaling and consider the translation vector Coordinates as equal.
Added by Brittany G.
Close
Step 1
### Drawing Concentric Circles Using Bresenham's Midpoint Circle Algorithm #### Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 93 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
James K.
Question 1 Here are 2 polygons: Select all sequences of translations, rotations, and reflections below that would take polygon P to polygon Q. A) Rotate 180° around point A. B) Rotate 60° counterclockwise around point B and then reflect over the line FA. C) Translate so that point P is taken to point Q. Then reflect over line BA. D) Reflect over line BA and then translate by directed line segment BA. E) Reflect over the line BA and then rotate 60° counterclockwise around point E.
Supreeta N.
Answer: Q1 a. Using the transformation matrix determine the new coordinates of triangle A(0,0), B(3,2), and C(2,3) after it is rotated 45 degrees clockwise about origin. b. Reflect the diamond shape polygon whose vertices are A(-2,0), B(0,-1), C(2,0), D(0,1) about an arbitrary line L which is represented by equations y=0.5x+1.
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD