0% found this document useful (0 votes)
50 views7 pages

Group Project

This document summarizes a code project that creates an animated scene of a moving boat. The code was submitted by three students under the guidance of a professor. It uses graphics functions in C to draw the boat, raindrops, and a stick figure passenger as the boat moves across the screen from left to right. The animation motivates exploring graphics and visual effects. Key functions used include initgraph to initialize graphics, setcolor to set colors, and delay to pause the program. The objectives are to demonstrate graphics programming and create an animated scene that simulates a boat sailing with falling rain.

Uploaded by

Noopur Mhatre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views7 pages

Group Project

This document summarizes a code project that creates an animated scene of a moving boat. The code was submitted by three students under the guidance of a professor. It uses graphics functions in C to draw the boat, raindrops, and a stick figure passenger as the boat moves across the screen from left to right. The animation motivates exploring graphics and visual effects. Key functions used include initgraph to initialize graphics, setcolor to set colors, and delay to pause the program. The objectives are to demonstrate graphics programming and create an animated scene that simulates a boat sailing with falling rain.

Uploaded by

Noopur Mhatre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

MOVING BOAT

Submitted by:Shreyash Khatu


Shreyash More
Dhiraj Pawar

Under Guidance:Prof.S.N.Jadhav

Computer Engineering Department


G.M.Vedak Institute of Technology
Contents
INTRODUCTION

MOTIVATION

OBJECTIVE
FUNCTIONS
CONCLUSION
INTRODUCTION
The animation features a boat moving from left to right on a background that represents
a river or sea. The boat also has a stick figure representing a person on board.Raindrops
are simulated by drawing diagonal lines on the screen, giving the appearance of rain
falling into the sea.The stick figure on the boat remains stationary while the boat
moves.The program uses various graphics functions to draw and clear the elements on
the screen, set colors, and create the animation effect.The program initializes the
graphics driver and mode using the initgraph function. It sets up a graphics window to
create the animation.
MOTIVATION
The code shows that achieving the desired output often requires
persistence and iterative development. It motivates us to keep
refining and improving our work until it meets our goals.Creating
graphical animations introduces us to the world of graphics and
visual effects. It motivates us to explore new technologies and
fields within the vast realm of computer science and programming.
FUNCTIONS
delay(milliseconds)
setcolor(color) flooodfill(x,y)
Fills an enclosed Delays the
Sets the current area starting program
drawing color to from the execution for
the specified specified point the specified
color (‘x’,’y’) with the
number of
current fill color
milliseconds
OBJECTIVES
Graphics Programming:The main objective of this code is to demonstrate graphics
programming in C. It utilizes the Turbo C graphics library to create a graphical animation of a
moving boat and other elements
.Creating an Animated Scene: The code creates an animated scene that simulates a boat sailing
on a river or sea. It achieves this by drawing various graphical elements, including the boat,
raindrops, and a stick figure on the boat.
Learning Tool: This code serves as an educational tool to teach the fundamentals of graphics
programming, including initializing the graphics system, drawing shapes and elements, using
colors, and creating animations.
Artistic Visualization: The code creates a visually appealing animation with a boat sailing in a
sea, raindrops falling, and a stick figure on the boat. It aims to provide an artistic and aesthetic
visualization.
Your Group

THANK YOU
"Write Your Topic Or Idea"

You might also like