Description
Task 1: Drawing Pixels
You are supposed to draw 50 pixels (coordinate points). For this you need to generate 100 random values (50 x – coordinates and 50 y – coordinates). You do not need to join any pixels for this task.
Task 2: House Building
You are to draw a House using the base primitives: points, lines, or triangles. You can use GL_POINTS, GL_LINES or GL_TRIANGLES for designing this house. A diagram has been provided as an example. You can modify the house design to your liking.
Task 3: Coin Toss using Digital Differential Analyzer (DDA) Line Drawing Algorithm
We are to demonstrate a coin toss with two sides: Heads or Tails. Depending on the last digit of Brac University Student Id, the output of the coin toss will be determined.
If the last digit is an odd number, then the output of the coin will be H (head), or else T (tail) for an even number. You can consider 0 as an even number.



