- int gd = DETECT, gm;
- initgraph (&gd, &gm, "");
- getch(); //at the end
- An architect wishes to visualize the structure of a building/bungalow/kite.
Write a program using line drawing algorithm (DDA/Bresenham's), to help him to picture the same
- Draw an hour glass shape/vase/∝/ Ь/ε/ω/ς/~/r/m/?/s / क/ द/ ड/ ट/ ठ figure.
- Draw two concentric circle using midpoint circle drawing algorithm/bresenham’s circle drawing algorithm.
- Perform transformation (Translate, Rotate, Scale, Reflect, Shear) on a boat/kite/house shaped figure
- Write a program to implement Cohen Sutherland algorithm/Liang Barsky algorithm
- Write a program to implement polygon clipping wrt left/right/top/bottom window edge.
- Write a program to visualize the color combination for the hut/boat /kite.
- Write a program to color the areas
- Write a program to simulate fish swimming
- A plane taking off at various angles is to be shown to train a set of pilots. Simulate the take off process to help the training.
- A teacher wants to explain the solar system to school students. Simulate the demonstration.
- Write a program to simulate a car moving on road
- Write a program to simulate a train moving on tracks
- Write a program to draw koch curve.
- Write a program to create a fractal tree
- Write a program to create a fern leaf
- Write a program to demonstrate Sierpinski Triangle
- Write a program to rotate a kite/hut/boat about a given point.
- Write a program to represent a cube/pyramid in OpenGL
- Write a program to perform transformations on a cube/pyramid in OpenGL
Code for algorithms and graphics in c