Class 6: Simple Primitives: Introduction to Processing • Built with Processing
Source code Source code Source code
Example 1: Applet draws a simple rectangle and four points. Example 2: Applet draws a triangle, a rectangle and a screenful of vertical lines. Can you explain why the lines do not extend to the bottom of the screen? Example 3: You have to roll over the applet window to see the drawing update. What kind of primitive form is being used?