Skip to content

Beginners Guide to Computer Graphics in C/C++, OpenGL, JavaFX

License

Notifications You must be signed in to change notification settings

SagarGaniga/computer-graphics

Repository files navigation

Computer Graphics

contributions welcome

Prerequisite

  1. int gd = DETECT, gm;
  2. initgraph (&gd, &gm, "");
  3. getch(); //at the end

Course Walkthrough

  1. 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
  2. Draw an hour glass shape/vase/∝/ Ь/ε/ω/ς/~/r/m/?/s / क/ द/ ड/ ट/ ठ figure.
  3. Draw two concentric circle using midpoint circle drawing algorithm/bresenham’s circle drawing algorithm.
  4. Perform transformation (Translate, Rotate, Scale, Reflect, Shear) on a boat/kite/house shaped figure
  5. Write a program to implement Cohen Sutherland algorithm/Liang Barsky algorithm
  6. Write a program to implement polygon clipping wrt left/right/top/bottom window edge.
  7. Write a program to visualize the color combination for the hut/boat /kite.
  8. Write a program to color the areas
  9. Write a program to simulate fish swimming
  10. 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.
  11. A teacher wants to explain the solar system to school students. Simulate the demonstration.
  12. Write a program to simulate a car moving on road
  13. Write a program to simulate a train moving on tracks
  14. Write a program to draw koch curve.
  15. Write a program to create a fractal tree
  16. Write a program to create a fern leaf
  17. Write a program to demonstrate Sierpinski Triangle
  18. Write a program to rotate a kite/hut/boat about a given point.
  19. Write a program to represent a cube/pyramid in OpenGL
  20. Write a program to perform transformations on a cube/pyramid in OpenGL