Skip to content

Building a 2D graphics engine from the ground up (for CS 345: Graphics Software Architecture)

Notifications You must be signed in to change notification settings

gstammer/2d-graphics-engine

Repository files navigation

2D Graphics Engine

This 2D graphics engine is under construction. I am building it throughout the Spring 2023 semester for the course, COMPSCI 345: Graphics Software Architecture, at Duke University. Scaffolding and basic classes have been provided by the professor, Mike Reed, but all of the .cpp and .h files in the parent directory are fully written by me

Note: I am only committing & pushing to this repo when I have full updates. Minor commits & pushes are housed in a separate, private repo.

Current features

  • Filling the window
  • Drawing/filling rectangles
  • Drawing/filling convex polygons
  • Drawing with any RGBA color
  • Blending with all 12 Porter-Duff blend modes
  • Drawing with shaders, including from .png files
  • Creating your own shaders
  • Transforming with translate/rotate/scale

About

Building a 2D graphics engine from the ground up (for CS 345: Graphics Software Architecture)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages