GithubHelp home page GithubHelp logo

nobinpegasus / computer-graphics Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 2.57 MB

Computer Graphics using SDL

C++ 100.00%
sdl2 scanline boundaryfill floodfill line-drawing circle-drawing-algo circle-drawing midpoint-circle-algorithm dda-algorithm bresenham-line-drawing-algorithm

computer-graphics's Introduction

Downloading SDL2 for visual c++ in windows system

  1. Go to this website https://www.libsdl.org/download-2.0.php
  2. Development Libraries-> SDL2-devel-2.0.16-VC.zip (Visual C++ 32/64-bit)

Setting up SDL2 in visual studio

  1. Create or add existing the cpp file to the source file section
  2. Change the settings to x64
  3. Go to project->properties
  4. Go to VC++ directories->Include Directories->Edit->Add downloaded SDL2 folder's include folder
  5. Linker->Input->Additional Dependencies->Edit-> Add two lines SDL2.lib;SDL2main.lib;
  6. VC++ directories->Library Directories->Edit->downloaded SDL2 folder->lib->x64

Computer-Graphics using SDL2 library

  1. Line Drawing (using DDA and Bressenam's algorithm)
  2. Circle Drawing (using midpoint and Bressenham's algorithm)
  3. Flood fill and Boundary fill algorithm (using graphics.h)
  4. Scan Line algorithm

computer-graphics's People

Contributors

nobinpegasus avatar

Watchers

 avatar

Forkers

dabrej65

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.