ColorChart applet

This chart arranges a 6 x 6 x 6 color map in two dimensions. I wrote the first version in Basic to test a color printer I had just bought.
 

For the source code to the applet itself (including the original TrueBASIC source as a comment), click: ColorChart.java.
ColorChart uses my DGeom2D library for floating-point points, rectangles, polygons and coordinate transforms within Java 1.1: DGeom2D.java.