Загрузка страницы

mid point algorithm computer graphics | {WITH SOLVED EXAMPLE} | midpoint circle algorithm |

mid point algorithm computer graphics | midpoint circle algorithm | computer graphics |
Let's learn how to use midpoint circle algorithm to draw a circle in computer graphics.
We will also solve an example for understanding midpoint algorithm even better.
Bresenham's line drawing algorithm: http://www.youtube.com/watch?v=j37mTfnJfAg
Midpoint circle algorithm PART1: http://www.youtube.com/watch?v=d5ZskdSb8h0
0:00-4:00 mid point circle drawing algorithm
4:00-10:18 midpoint circle algorithm example

WHAT ARE WE GOING TO LEARN?
We will look at mid point circle algorithm
We will look at an example of Mid point circle algorithm.

Algorithm
Step 1: Input radius r and centre (Xc,Yc) and obtain first point on the circumference of the circle centred at the origin(0,0).
Step 2: calculate the initial value of the decision parameter as
P0=5/4-r
Make a table:

4. Determine symmetry points in the other seven octants.
5. Move each calculated pixel position (x, y) onto the circular path centered on (xc, yc) and plot the coordinate values: x=x+xc, y=y+yc
6. Repeat steps 3 through 5 until x is less than or equal to y.
Example:

#midpoint_circle_drawing #midpoint_algorithm_example #midpoint_circle_drawing

Видео mid point algorithm computer graphics | {WITH SOLVED EXAMPLE} | midpoint circle algorithm | канала QuickCS
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
31 октября 2020 г. 21:29:55
00:10:18
Яндекс.Метрика