Computer Graphics
Please solve the task using the midpoint line algorithm. The code should be in Python and use OpenGL to solve. The code should work for any ID. Suppose the users will enter their ID, and then the last two digits would be shown like the given sample output. Please do not attempt if you are not sure about the answer and do not copy from other answers because those are incorrect.
Activity Task
Use the Mid-point line algorithm to implement the LAST TWO DIGITS of your ID.
(Your code should work for any ID for full marks) For example, 17301106. You should be able to print:
Student ID: 17301106. Let's draw 06
X