This page demonstrates some applets related to Java applications discussed in Chapter 1 of Computer Graphics for Java Programmers

If you don't see any figures other than rectangles, you need to enable Java for your browser. With Internet Explorer 7 you can do this using the Tools menu, then Internet Options, then Advanced, to check the checkbox that enables Java. This checkbox is somewhere in the middle of the list.

Section 1.3, Triangles.java: A set of concentric triangles.



Exercise 1.2: Chessboard-like display of n x n sets, each consisting of k concentric and rotated squares



Exercise 1.3: Concentric squares, with the vertices of each next square on the midpoints of the previous one



Exercise 1.4: Hexagons (or chicken wire) of size defined by the user



Exercise 1.5: Dashed line, connecting two points defined by the user