Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions Documentation1.md

This file was deleted.

19 changes: 0 additions & 19 deletions Documentation2.md

This file was deleted.

19 changes: 0 additions & 19 deletions Documentation3.md

This file was deleted.

38 changes: 38 additions & 0 deletions bullseye.md
Original file line number Diff line number Diff line change
@@ -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

24 changes: 24 additions & 0 deletions mathOperations.md
Original file line number Diff line number Diff line change
@@ -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


25 changes: 25 additions & 0 deletions vF.md
Original file line number Diff line number Diff line change
@@ -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