This page demonstrates some applets related to Java applications discussed in Chapter 4 of Computer Graphics for Java Programmers, 2nd Edition.


Section 4.4. Cohen-Sutherland line clipping.




Section 4.5. Sutherland-Hodgman polygon clipping.




Section 4.6. Bezier curves.




Section 4.7. B-spline curves.




Exercise 4.4. Bezier curve of more than one segment.




Exercise 4.5. B-spline curves with grid.




Exercise 4.6. Visualization of Bresenham's algorithm.
(First version programmed by Janis L. Schubert; adapted by Leen Ammeraal)