Computer Graphics in Java and Scala - Part 1.
Continuous (Logical) and Discrete (Device) Coordinates,
with a simple yet pleasing example involving concentric triangles.
Scala code: https://github.com/philipschwarz/computer-graphics-50-triangles-scala
Errata:
1. Scala classes TrianglesPanel and Triangles need not be classes, they could just be objects.
Keywords: axes, canvas, computer graphics, coordinates, device, device coordinate, drawing, frame, functional programming, graphics, iterate, java, logical, logical coordinate, panel, point, scala, triangle