CGR Group No 4
CGR Group No 4
CGR Group No 4
A PROJECT REPORT ON
COMPUTER GRAPHICS
DESIGN A ROTATING FAN
PROF.BORALE S.A
Academic year: 2020-21
ACKNOWLEDGEMENT
Whenever we are standing on most difficult step of the dream of our life. We often Remind the great god for
his blessing and kind help, & many people have contributed with Encouragement & technical advice. With all
respect and gratitude, we would like to thank all People who have helped us directly or indirectly for the
First & foremost, I grateful to Prof. MARKAD M.S Faculty Member of COMPUTER
Engineering Department, K.S.S.E.D.Polytechnic College of Engineering, For guiding us to Understand the work
conceptually and also for his constant encouragement to complete this Project work on
“DESIGN ROTATING FAN” We also Express our thanks to Prof. MARKAD M.S Head of COMPUTER
Engineeering Department for his Valuable recommendation & suggestions. With the deep sense of gratitude we
thank to our Principal, Prof. DR.ATTAR H.R, also Thankful to Management of institute for providing facilities.
Last but not least we thankful to all the teaching staff & Non teaching staff Members of COMPUTER
ENGINEERING Department.
We are ending this acknowledgement with deep indebtedness to our friends and Parents to support us to pursue
the technical Education
CERTIFICATE
1. INTRODUCTION
3. 2D TRANSFORMATION
4. PROGRAM
5. OUTPUT
REQUIREMENTS
HARDWARE:
Processor with minimum 50GB hard disk
3 GB RAM
SOFTWARE:
Windows 7
Turbo C.3.2.2
Introduction
C/C++ program to Rotating Fan Using Computer Graphics we are provide a C/C++ program tutorial with
example . Implement Rotating Fan Using Computer Graphics program in C/C++ .Download Rotating Fan
Using Computer Graphics desktop application project in C/C++ with source code .Rotating Fan Using
Computer Graphics program for student, beginner and beginners and professionals.This program help
improve student basic fandament and logics.Learning a basic consept of C/C++ program with best example.
This C/C++ program submitted by Dharmesh Nakum.Rotating Fan Using Computer Graphics program with
output screen shot.Rotating Fan Using Computer Graphics academic C/C++ program for students. We have
Some topics in computer graphics include user interface design, sprite graphics, rendering, geometry
processing, computer animation, vector graphics, 3D modeling, shaders, GPU design, implicit surface
visualization with ray tracing, image processing, computational photography, scientific visualization, and
computer vision, among others. The overall methodology depends heavily on the underlying sciences of
geometry, optics, physics, and perception.
In order to rotate an object we need to rotate each vertex of the figure individually.
On rotating a point P(x, y) by an angle A about the origin we get a point P'(x’, y’). The values of x’ and y’
can be calculated as follows:-
We know that,
x = rcosB, y = rsinB
x’ = rcos(A+B) = r(cosAcosB – sinAsinB) = rcosBcosA – rsinBsinA = xcosA – ysinA
y’ = rsin(A+B) = r(sinAcosB + cosAsinB) = rcosBsinA + rsinBcosA = xsinA + ycosA
Rotational Matrix Equation:-
Program
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <dos.h>
int main(void) {
/* request auto detection */
int gdriver = DETECT, gmode, errorcode;
int i, midx, midy;
int stangle1 = -45, endangle1 = 0, radius = 100;
int stangle2 = 135, endangle2 = 180;
/* fan stand */
rectangle(midx - 5, midy - 5, midx + 5, midy + 150);
/* clean up */
getch();
return 0;
OUTPUT
CONCLUSION
Rapid progress in computer technology and software has led to the situation where powerful packages
such as MSC Marc can be used on desktop systems. This made it possible to study the effect of damage on
the dynamics of a structure such as a blade prior to constructing an experimental test structure. From this
analysis it could clearly be seen that certain mode shapes were more susceptible to damage than others. These
findings correlated well with findings during a literature study. It was also found that the type of element used
was extremely important. Higher order elements gave superior accuracy although they were computationally
more expensive. First order solid elements are not a real proposition due to their poor performance in
bending.
REFERENCE
Donald Knuth, The Art of Computer Programming
^ Bernard A. Galler and Michael J. Fischer. An improved equivalence algorithm. Communications of
the ACM, Volume 7, Issue 5 (May 1964), pages 301–303. The paper originating disjoint-set forests.