RhombusTest Applet
Like SquareTest, our test applet draws an 8x8 checkerboard of rhombi
The orientation of the checkerboard depends on the angle ? and, hence, on d: rhombus = new Rhombus( 0, 0, length, alpha ); d = rhombus.getDisplacement(); h = rhombus.getHeight(); xoffset = ( d < 0 ) ? 0 : 8*d;