Giter Club home page Giter Club logo

fun-with-polygons-cg-project's Introduction

FUN WITH POLYGONS - COMPUTER GRAPHICS PROJECT

author GitHub followers GitHub watchers GitHub forks GitHub stars

GitHub language count GitHub top language GitHub repo size

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests LICENSE HitCount

ABOUT THE PROJECT

The project is designed for supporting different transformation functions and event driven function of OpenGL on primary objects. The project implements the generation of various polygons on the basis of the polygons order entered by the User.

AUTHORS

DESCRIPTION

  • A Polygon is a 2D shape which is made up of straight line segments. A regular polygon has all sides and angles equal (e.g. a square is a regular quadrilateral).

  • In elementary geometry, a polygon is a plane figure that is described by a finite number of straight line segments connected to form a closed polygonal chain or polygonal circuit. The solid plane region, the bounding circuit, or the two together, may be called a polygon.

  • A regular polygon is a polygon with all angles and all sides congruent, or equal. Here are some regular polygons.

  • We can use a formula to find the sum of the interior angles of any polygon. In this formula, the letter n stands for the number of sides, or angles, that the polygon has. Sum of angles = (n โ€“ 2)180ยฐ Polygons are named after the number of sides they have.

FEATURES

  • The important feature of this project is we can generate various polygons on the given order of a polygon.
  • The generated polygons view are aesthetically pleasing and eye-catching.
  • We can easily move the polygon in upper, lower, left, and right directions.
  • We can generate the polygons with various order which are specified by the user (ie) the order of the polygon is taken as input from the user.
  • There is a proper movement of the polygons.
  • Keyboard interrupts are used for movement of the polygon in clockwise and anti-clockwise manner.
  • Mouse interrupts are also used for movement of the polygon in different perspectives.
  • There is a proper delay in the movement of the polygon.
  • The generation of the polygons take very less time.

PRE-REQUISITES

SCREENSHOTS


  • OUTPUT WINDOW TO ENTER THE ORDER OF POLYGON:

WINDOW


  • SCREENSHOT OF POLYGON WHEN ORDER IS 3:

3


  • SCREENSHOT OF POLYGON WHEN ORDER IS 4:

4


  • SCREENSHOT OF POLYGON WHEN ORDER IS 5:

5


  • SCREENSHOT OF POLYGON WHEN ORDER IS 6:

6


  • TRIGGERRING POLYGON MOVEMENT USING KEYBOARD INTERRUPT:

6A


  • TRIGGERRING POLYGON MOVEMENT USING MOUSE INTERRUPT:

6B


ANIMATIONS


  • TRIGGERRING POLYGON MOVEMENT USING KEYBOARD INTERRUPT:

6keyboard


  • TRIGGERRING POLYGON MOVEMENT USING MOUSE INTERRUPT:

6mouse


CONTRIBUTING

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

LICENSE

This project is licensed under the MIT License - see the LICENSE file for details

fun-with-polygons-cg-project's People

Contributors

abhishekmali21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.