User Tools

Site Tools


haas:fall2015:cprog:projects:cos0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
haas:fall2015:cprog:projects:cos0 [2015/10/08 09:34] – created wedgehaas:fall2015:cprog:projects:cos0 [2015/10/08 09:36] (current) – [Program] wedge
Line 6: Line 6:
 ~~TOC~~ ~~TOC~~
  
-======Project: MENTAL MATH MULTIPLY BY 11 (mbe1)======+======Project: IMAGE PROCESSING CIRCLE OF SQUARES (cos0)======
  
 =====Objective===== =====Objective=====
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), but bonus consideration would be given for the following:     * circle must be at least 1 color (that isn't the same as the background), but bonus consideration would be given for the following:
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.
haas/fall2015/cprog/projects/cos0.1444296858.txt.gz · Last modified: 2015/10/08 09:34 by wedge