This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:fall2015:cprog:projects:cos0 [2015/10/08 09:34] – [Project: MENTAL MATH - MULTIPLY BY 11 (mbe1)] wedge | haas:fall2015:cprog:projects:cos0 [2015/10/08 09:36] (current) – [Program] wedge | ||
---|---|---|---|
Line 36: | Line 36: | ||
* image resolution must not be square (i.e. **NOT** 800x800, 1000x1000, etc.) | * image resolution must not be square (i.e. **NOT** 800x800, 1000x1000, etc.) | ||
* image has a black background | * image has a black background | ||
+ | * image has an outer border of a color other than black and the circle (unless circle is multiple colors, then the border could be one of the contained colors). | ||
* draws a circle out of squares | * draws a circle out of squares | ||
* circle must be at least 1 color (that isn't the same as the background), | * circle must be at least 1 color (that isn't the same as the background), | ||
Line 41: | Line 42: | ||
* multiple circles (concentric? | * multiple circles (concentric? | ||
* spirals | * spirals | ||
+ | * squares should be at least 10x10 (pixels) | ||
Now, gd has functions for drawing circles. You are **NOT** to use them for this project. As I said, this is a circle of squares. As such, you will be making use of the **gdImageFilledRectangle()** function. | Now, gd has functions for drawing circles. You are **NOT** to use them for this project. As I said, this is a circle of squares. As such, you will be making use of the **gdImageFilledRectangle()** function. |