Math Art Questions

1. Create a flow chart for

a. Triangle Example Step 3
b. Triangle Example Step 5
c. Boxes Example
d. Changing Colour Example Step 1
e. Changing Colour Example Step 2

2. Create a program that creates the following pictures:

(a) (b) (c) (d)
******
*****
****
***
**
* 
     *
**
***
****
*****
******
******
*****
****
***
**
*
*
**
***
****
***
**
*

3. Create a program that creates the following picture:

    *
***
*****
*******
*********
*******
*****
***
*


4. Create a program that creates the following picture:

hint: the line g.fillOval(20,20,x,y); appears in it.

5. Create a program that creates the following picture:

hint the lines: g.setColor(new Color(0,0,blue));
g.fillOval(20,20,x,y); appear in it.