Draw nested figures! Answer the bug's questions logically (example responses provided) and she will draw some nested geometric figures for you. (Hint: the bug cannot walk off the edge of the screen, so if your figure is too big, she'll mess it up!)
Inspired by programs written by CSS students using WebTurtle: http://www.sonic.net/~nbs/webturtle/ Sample Webturtle Code for drawing Nested Figures: LET S 1 LET BR 1 LET MAJ 9 LET MIN 5 GO NESTEDSHAPE END # NESTEDSHAPE REPEAT MAJ MOVE 60 IF BR == 1 RIGHT 360/MAJ ELSE LEFT 360/MAJ ENDIF REPEAT MIN DRAW 60 IF BR == 1 IF S == 1 RIGHT 360/MIN ELSE LEFT 360/MIN ENDIF ELSE IF S == 1 LEFT 360/MIN ELSE RIGHT 360/MIN ENDIF ENDIF NEXT NEXT RETURN