/* 6.914, Example 2.3 switch/case Use switch/case to make cases for evaluating a variable that can hold a simple, discrete value. (Examples: boolean, int, or char.) The general form is along these lines: switch (varToCheck){ case (val0): case (val1): // this code will run if varToCheck evaluates to val0 OR val1 break; case (val2): // this code will run if varToCheck evaluates to val2; break; default: // this code will run if varToCheck doesn't evaluate to any value // with its own case; } */ void setup(){ size(300, 300); frameRate(1); } void draw(){ for (int i = 0; i