Download as pdf or txt
Download as pdf or txt
You are on page 1of 35

Date 03/02/2023

➢ Write a C program to implement some built-in functions to plot lines, shapes etc.
using graphics.
Program –

1
Output –

2
Date 03/02/2023

➢ Write a C program to implement x-axis, y-axis, circle with centre at origin and text
written in between the circle using graphics.
Program –

Output –

3
Date 13/ 02/ 2023

➢ Write a C program to implement circle illusion using graphics delay() function.


Program –

Output –

4
Date 13/ 02/ 2023

➢ Write a C program to implement an elliptic shape using graphics.


Program –

Output –

5
Date 16/ 02/ 2023

➢ Write a C program to implement DDA line drawing algorithm using graphics.


Program –

6
Output –

7
Date 17/ 02/ 2023

➢ Write a C program to implement a triangle inside a circle using DDA algorithm of


graphics.
Program –

8
Output –

9
Date 24/ 02/ 2023

➢ Write a C program to draw a cube using DDA algorithm of graphics.


Program –

10
Output –

11
Date 09/03/2023

➢ Write a C program to implement BRESENHAM’S Line Drawing Algorithm


using graphics.
Program –

12
Output –

13
Date 09/ 03/ 2023

➢ Write a C program to implement BRESENHAM’S Circle Drawing


Algorithm with different colours using graphics.
Program –

14
Output –

15
Date 13/ 03/ 2023

➢ Write a C program to implement circle using graphics.


Program –

16
Output –

17
Date 13/ 03/ 2023

➢ Write a C program to implement scaling using graphics.


Program –

Output –

18
Date 13/ 03/ 2023

➢ Write a C program to implement 2D Reflection about x-axis using graphics.


Program –

19
Output –

20
Date 13/ 03/ 2023

➢ Write a C program to implement 2D Reflection about y-axis using graphics.


Program –

21
Output –

22
Date 20/03/2023

➢ Write a C program to implement 2D Counter Clock-wise Rotation using


graphics.
Program –

Output –

23
Date 20/03/2023

➢ Write a C program to implement 2D Clock-wise Rotation using graphics.


Program –

Output –

24
Date 24/ 03/ 2023

➢ Write a C program to draw a house using graphics.


Program –

25
Output –

26
Date 03/ 04/2023

➢ Write a C program to draw Chess Board using graphics.


Program –

Output –

27
Date 10/ 04/ 2023

➢ Write a C program to draw Ludo Board using graphics.


Program –

28
29
30
31
Output –

32
Date17/04/2023

➢ Write a C program to draw sky full of stars using graphics.


Program –

Output –

33
Date 26/04/2023

➢ Write a C program to implement circle illusion using computer graphics delay()


function.
Program –

Output –

34

You might also like