Skip to content

notprathap/filled-ellipse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#A fast Bresenham type algorithm for drawing filled ellipses

A C++ OpenGL implementation for drawing filled ellipses, based on a fast Bresenham type algorithm written by Mr. John Kennedy

####Dependencies:

  • OpenGL 2.1
  • freeglut
  • GLEW

####Instructions: Just run make, and execute the drawEllipse executable.

If you are looking for just a hollow ellipse, you could get it here

If you are looking for an implementation with lines, you could get it here - Please note not all pixels are painted within the ellipse, and hence the approach with triangles and quads

If you are looking for an implementation with triangles, you could get it here

####Credits:

About

A fast Bresenham type algorithm for drawing filled ellipses

Resources

Stars

Watchers

Forks

Packages

No packages published