Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics Algorithms

Java Swing implementations of classic computer graphics line/circle-drawing algorithms, built from scratch (no built-in drawOval/shape helpers — each pixel is plotted manually).

Contents

Folder Algorithm Description
bresenham-circle-drawing/ Bresenham's (midpoint) circle algorithm Concentric circles pattern + a teddy-bear face made of circles (DrawCircle.java)
dda-line-drawing/ Digital Differential Analyzer (DDA) Click-to-draw square/pentagon shapes using DDA-plotted lines
awt-basic-shapes/ Built-in AWT primitives Simple line, rectangle, arc, and text drawing demos using Java's built-in Graphics methods

Each folder has its own README with run instructions. All programs require a JDK (Java 8+) and use only java.awt/javax.swing — no external dependencies.

Context

Coursework practice for computer graphics fundamentals: implementing rasterization algorithms (circle and line drawing) manually to understand how graphics primitives are built at the pixel level.

About

Java Swing implementations of core computer graphics rasterization algorithms — Bresenham's circle drawing and DDA line drawing — built pixel-by-pixel from scratch. #

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages