Stahl, David-2015-12-102015-12-109-7-2007-http://dx.doi.org/10.2312/cgems04-11-1362Line clipping is a fundamental topic in an introductory graphics course. The simplicity and elegance of the classic Cohen-Sutherland 2D Line Clipping Algorithm makes it suitable for implementation by the student in a lab exercise. An understanding of the algorithm is reinforced by having students write actual code and see the results. A code framework is provided that allows an instructor to focus student effort on the algorithm while avoiding the details of the visualization API used to render the results.2D and 3D modelingAlgorithm developmentRenderingAlgorithmicA Lab Exercise for 2D Line Clipping10.2312/cgems04-11-1362David Stahl-2D and 3D modeling, Algorithm development, Rendering, Algorithmic