Presentation on theme: " By carefully incrementing the X and/or Y values of our set of lines, we can create a game board for a boat game. Lines that go from left to right are."— Presentation transcript:
By carefully incrementing the X and/or Y values of our set of lines, we can create a game board for a boat game. Lines that go from left to right are called horizontal lines and lines that go up and down are called vertical lines.
Create a playing field grid that accurately expands upon the given patterns to fill the canvas. Create improved versions of the boat and explosion graphics.
Coordinate Geometry for Graphics Making a grid line Making an explosion graphic Practice 1, 20%
By placing large circles or ellipses, we can create a rainbow effect across the screen. Remember to start in the background first and have the smaller shapes go later in the code so that the graphic will have the smaller shapes appear on top or inside of the larger.
//search for RGB color codes to find some examples of colors for fill() fill(0,150,0); ellipse(0,0,160,160); fill(0,100,0); ellipse(0,0,140,140);
Create a set of circular or elliptical shapes to encompass the entire canvas. Set aesthetically pleasing colors for the different shapes in the fill and/or the stroke commands.
Elliptical Pattern Graphics Canvas Setup Code fill() and ellipse() code Practice 2, 20%
Stick Figure Returns! In this part of our project, we will be using lines and ellipses to make stick figure people. The arms are usually drawn as two separate lines with an upper arm and a lower arm so that the figure can Flex their muscles.
Add more planets to the solar system with their predicted orbital paths. Create the proper number of stars to make the space look real. Look up the real solar system and try to make the planets look like they are correct.
Making space on our canvas Making the stars Solar system Practice 4, 20%
Linking To this project from the local directory This project is called 30.htm If a student were to link to it, the link would look something like this: Click here to see project 30
If a student wanted to link to project 30.htm from an external source or to send the link through , they would need the entire address. For example, John Smith would be like this: mith
Calling the Index and other files The index.htm will come up if a file is not specified and we load a directory on the Internet. If we want to call a specific file, instead of the index, we have to name the file. h/30.htmhttp://www.scottbunin.com/students/johmsmit h/30.htm
An easy way to link to a classmate, is with the.. (double period) mark in the link such as this: ../billsmith/30.htm In this way, a student could link to their sibling Bill, who is also getting an A in this class.
Practice 5, 20% Link to another project in your own directory so a user can click on this project and go to a previous project. Link to a classmates version of this project. Be sure to ask what they are naming their file! Link back to the main index file.