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).
| 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.
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.