Giter VIP home page Giter VIP logo

computer-graphics-lab's Introduction

Computer Graphics Lab

Lab Tasks

  • Draw the National Flag of Bangladesh ✓
  • Simulate two dimensional geometric ◦ Translation ✓ ◦ Rotation ✓ ◦ Scaling ✓
  • Draw a line with the Bresenham Line algorithm ✓
  • Draw a circle with the Midpoint Circle Drawing algorithm ✓
  • Simulate Visual Surface Detection ✓
  • Clip some lines with the Cohen Sutherland Line Clipping algorithm ✓
  • Clip polygon with the Sutherland Hodgman Polygon Clipping algorithm
  • Create a Bezier Curve ✓
  • Draw the Snowflake Pattern with Fractal Geometry ✓

CodeBlocks Setup Instructions

  • Download TDM GCC 32 Bit Compiler from this link
  • Download Graphics Library: https://drive.google.com/drive/folders/1bs9N7ltNUhxn6rEUG-w879sjuP38jO2c
  • Extract Graphics Library
  • Copy graphics.h & winbgim.h and paste it in C:\\TDM-GCC-32\\include
  • Copy libbgi.a & paste it in C:\\TDM-GCC-32\\lib
  • Now go to CodeBlocks -> Settings -> Compiler
  • Go to Toolchain executables & change Compiler's installation directory to C:\\TDM-GCC-32
  • Go to Linker Settigns -> Other linker options & add -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32

computer-graphics-lab's People

Contributors

h-k-r avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.