diff --git a/Documentation1.md b/Documentation1.md deleted file mode 100644 index 28f94fa..0000000 --- a/Documentation1.md +++ /dev/null @@ -1,19 +0,0 @@ -# Name: - -## Examples: -Insert examples here. - -## Description: -Insert description here - -## Syntax: -Demonstrate syntax here - -##Parameters: -Name and describe parameters here - -##Returns: -What type of data does it return? - -##Other notes: -Anything else? diff --git a/Documentation2.md b/Documentation2.md deleted file mode 100644 index 28f94fa..0000000 --- a/Documentation2.md +++ /dev/null @@ -1,19 +0,0 @@ -# Name: - -## Examples: -Insert examples here. - -## Description: -Insert description here - -## Syntax: -Demonstrate syntax here - -##Parameters: -Name and describe parameters here - -##Returns: -What type of data does it return? - -##Other notes: -Anything else? diff --git a/Documentation3.md b/Documentation3.md deleted file mode 100644 index 28f94fa..0000000 --- a/Documentation3.md +++ /dev/null @@ -1,19 +0,0 @@ -# Name: - -## Examples: -Insert examples here. - -## Description: -Insert description here - -## Syntax: -Demonstrate syntax here - -##Parameters: -Name and describe parameters here - -##Returns: -What type of data does it return? - -##Other notes: -Anything else? diff --git a/bullseye.md b/bullseye.md new file mode 100644 index 0000000..c330344 --- /dev/null +++ b/bullseye.md @@ -0,0 +1,38 @@ +# Name: bullseye + +## Examples: +void setup() { + size(800, 600); + background(0); +} + + +void draw() { + bullseye(); +} + +void bullseye(){ + fill(255); + ellipse(width/2,height/2,120,120); + fill(255,0,0); + ellipse(width/2,height/2,90,90); + fill(255); + ellipse(width/2,height/2,60,60); + + fill(255,0,0); + ellipse(width/2,height/2,30,30); + +} + +## Description: +Uses different sized and colored circles with the same center point to make a bullseye. + +## Syntax: +bullseye() + +##Parameters: +none + +##Returns: +void + diff --git a/mathOperations.md b/mathOperations.md new file mode 100644 index 0000000..cc3b729 --- /dev/null +++ b/mathOperations.md @@ -0,0 +1,24 @@ +# Name: mathOperations() + +## Examples: +void draw() { + println(mathOperations(5)); +} + +float mathOperations(float number) { + return number/2*7 +5; +} + +## Description: +Divides a any number by two, multiplies it by seven, and adds five to the product. + +## Syntax: +mathOperation(n) + +##Parameters: +n float: value to be evaluated + +##Returns: +float + + diff --git a/vF.md b/vF.md new file mode 100644 index 0000000..b9754f8 --- /dev/null +++ b/vF.md @@ -0,0 +1,25 @@ +# Name: vF() + +## Examples: +void draw() { + println(vF(0)); +} + +float vF(float vI) { + float t; + t= random(0, 2400); + return vI + 9.8*t; +} + +## Description: +Calculates the final velocity of an object with a gravitational acceleration of 9.8 and a random time between zero and 2400 seconds, given the initial velocity. + +## Syntax: +vF(vI) + +##Parameters: +vI float: initial velocity + +##Returns: +float +