Using the equation of a straight line y = ax + b, write a program for drawing lines. The end of the line should be chosen by the mouse.
- Using the equation x^2 + y^2 = r^2, write a program for drawing circles. Center point and radius of circle should be chosen by the mouse.
- By using parametric equation:
{ x = a * cos(t)
{ y = b * sin(t)
write a program for drawing polygons, where vertices of polygon are lying on the ellipse set by the above equation. Center point and axes of the ellipse should be chosen by the mouse.
Write a program for drawing bezier curves of order 3 constructed from few connected segments. Program should allow adding and moving control points.
Write a program for drawing B-Spline curves of order 3 (homogeneous). Program should allow adding and moving control points.
Write a program for filling polygons (and others figures) with specified color by using Flood Fill technique.
Write a program that represents two color models - RGB and HSV.
Write a program presenting at least 5 selected blending modes.
Write a program presenting the action of the 4 basic morphological operations (erosion, dilation, opening, closing) on binary image.
Write a program that illustrates the basic geometric transformations (translation, rotation, scale, skew).
Write a program that applies a texture to a triangle. Vertices of triangles need to be specified by mouse.
Write a program that shows the effect of morphing.
- Write a program for drawing cube or other solid in perspective projection. Implement the transformation of the solid (translation, rotation, scale and shearing).
- Add option to hide invisible faces.
- Add option to shading faces of solid (at least one source of light).