This document describes a micro-project on a moving car represented by students from Bharati Vidyapeeth Jawaharlal Nehru Institute of Technology. The project uses functions like line, circle, setcolor, outtextxy, settextstyle, delay, getch and closegraph in C graphics to draw and animate a car on screen. It explains the use of each function and provides a flowchart for the program.
This document describes a micro-project on a moving car represented by students from Bharati Vidyapeeth Jawaharlal Nehru Institute of Technology. The project uses functions like line, circle, setcolor, outtextxy, settextstyle, delay, getch and closegraph in C graphics to draw and animate a car on screen. It explains the use of each function and provides a flowchart for the program.
This document describes a micro-project on a moving car represented by students from Bharati Vidyapeeth Jawaharlal Nehru Institute of Technology. The project uses functions like line, circle, setcolor, outtextxy, settextstyle, delay, getch and closegraph in C graphics to draw and animate a car on screen. It explains the use of each function and provides a flowchart for the program.
🠶 Soham Kate (41) 🠶 Abhishek Koli (53) 🠶 Yogesh Algude (68) Function used 🠶 Line() 🠶 Circle() 🠶 Setcolor() 🠶 Outtextxy() 🠶 Settextstyle() 🠶 Delay() 🠶 Getch() 🠶 Closegraph() Use Of Functions 🠶 Line():-line function is used to draw a line from a point(x1,y1) to point(x2,y2). 🠶 Circle():-circle function which draws a circle with center at (x, y) and given radius. 🠶 Setcolor():-setcolor sets the current drawing color to color, which can range from 0 to getmaxcolor. 🠶 Outtextxy():-outtextxy function which displays the text or string at a specified point (x, y) on the screen. 🠶 Settextstyle:-settextstyle function which is used to change the way in which text appears. 🠶 Delay:-The delay function in C is used to stop the execution of the program for some period of time. 🠶 Getch():-getch method pauses the Output Console until a key is pressed. 🠶 Closegraph:-closegraph function which closes the graphics mode, deallocates all memory allocated by graphics system and restores the screen to the mode it was in before you called initgraph. 🠶 Initgraph():-initgraph initializes the graphics system by loading a graphics driver from disk (or validating a registered driver), and putting the system into graphics mode. Flowchart:- Input Code: Output