**Electrical Safety

Metal is a great conductor

  • Don’t wear metal jewelry or watchbands when working on electrical circuits” because metal is a great conductor for electricity.
  • “Use tools with non-conducting handles” so conductors like metals, wont conduct the electricity
  • Enclose all electrical contacts and conductors.

People are so-so conductors (they can still conduct electricity).

  • Don’t touch electrical circuits with your fingers.
  • Should someone come into contact with electricity, don’t touch them; shut down the main power.
  • Disconnect the power source before working on electrical circuits and devices.

water is a so-so conductor

  • Never work with electrical circuits with wet hands or on a wet floor.
  • If there is a spill, shut off the main power before doing anything else.

 

control.pde

// This Processing program creates a little animation machine
// with controls that you can customize.
// First, we need to “declare” a few variables of 3 different types.
int bDia, cDia, mvX, mvY;
float cX, cY, clickX, clickY;
color cCol;

void setup() {
size(201, 400); // Create a program window 201 pixels wide and 400 pixels high.
stroke(127); // Set the color for the outlines of our shapes.
bDia = 20; // Set the diameter of our circular control buttons.
cDia = 20; // Set the diameter of the “action circle” we will control.
cX = 100; // Set the starting horizontal position of the action circle.
cY = 300; // Set the starting vertical position of the action circle.
cCol = color(255, 255, 255); // Set the starting color of the action circle.
mvX = 0; // Set the horizontal movement of the action circle.
mvY = 0; // Set the vertical movement of the action circle.
}

void draw() {
// These first 4 lines let you use math coordinates instead of computer coordinates.
scale(1, -1);
translate(0, -height);
clickX = mouseX;
clickY = height – mouseY;

fill(255); // Color the screen white.
rect(0, 200, 200, 200); // Draw the square “action screen”.

ellipse(100, 60, bDia, bDia); // Draw the top button.
ellipse(100, 100, bDia, bDia); // Draw the middle button.
ellipse(100, 140, bDia, bDia); // Draw the bottom button.
ellipse(60, 100, bDia, bDia); // Draw the left button.
ellipse(140, 100, bDia, bDia); // Draw the right button.

fill(cCol); // Set the color for the action circle.
cX = cX + mvX; // Set the horizontal position of the action circle.
cY = cY + mvY; // Set the vertical position of the action circle.

// The 2 “print lines” below will display at the bottom of this window.
// They will let us check the coordinates of the program window.
println(“X =”, clickX);
println(“Y =”, clickY);

ellipse(cX, cY, cDia, cDia); // Draw the action circle.
}

void mousePressed() {
//Check if the user clicked the middle button.
if (dist(clickX, clickY, 100, 100) < bDia/2) {
cCol = color(255, 0, 0);
// If so, turn the action circle red.
}

//Check if the user clicked the top button.
else if (dist(clickX, clickY, 100, 140) < bDia/2) {
mvY = 1;
//If so, make the action circle move upwards.
}

//Check if the user clicked the right button.
else if (dist(clickX, clickY, 140, 100) < bDia/2) {
mvX = 1;
//If so, make the action circle move right
}

//Check if the user clicked the bottom button.
else if (dist(clickX, clickY, 60, 100) > bDia/2) {
mvY = -1;
//If so, make the action circle move downwards.
}

//Check if the user clicked the left button.
else if (dist(clickX, clickY, 100, 60) > bDia/2) {
mvX = -1;
//If so, make the action circle move left.
}

}

yesYesNoNo.bas

Screen Shot 2017-03-22 at 12.53.30 PMScreen Shot 2017-03-22 at 12.53.49 PMScreen Shot 2017-03-22 at 12.53.56 PM

My program functions so that it will reply to an input of “yes” “Yes” “no” and “No”. the program will respond to these inputs with it’s own comment and move onto the next question. Although, im programming it up to the second question, i didnt come up with how it would reply to the second question. I plan to finish it by having the program respond to the user’s answer with a comment of it’s own before ending for each combination of answers, though i still have to constrain the user’s inputs into a loop and end the program after the program’s response.

 

 

 

 

 

Final Version (also AER stands for Aereny)

After 16 more copies (with much resilience) I kept the bad answer loops, but I added the line numbers needed for the responses and used AND so that if for instance someone types yes for the first question and no for the second question, it will give the person who typed those inputs a unique response only to that pattern of inputs. This applies to other possible combinations of inputs as well. Also, when the last input is entered, the program has a response and then it ends at 800, for each response. There are lines like 411 that finish a sentence without it cutting off in chipmunk BASIC, so I added those to every long sentence that would usually cut off if I didnt do that otherwise.

 

 

Syllogisms

If you’re Robert Nunez, then you’re an otaku.

If you’re an otaku, then you watch anime.

If Robert Nunez is an otaku and otakus watch anime, then Robert Nunez watches anime

If otakus watch anime and you’re Robert Nunez, then you watch anime.

 

If you cross dress in Spain, then you’ll get executed.

If you get executed, that means that you committed a crime.

If you cross dress in Spain and you get executed, then that means when you cross-dress, you’re committing a crime.

 

**Conditionals and Converses

If it’s one of her favorite activities to do, then Crystal likes dancing.

If Crystal likes dancing, then it’s one of her favorite activities to do.

Not true: Someone can like dancing but it doesn’t necessarily mean that it’s their favorite activity to do.

If there’s a hurricane, then the store is closed.

If the store is closed, then there’s a hurricane.

Not true: The store could’ve been closed because it needed repairs.

If there’s snowfall, then snowflakes are going to fall

If snowflakes are going to fall, that means there’s snowfall

True: If it snows, it’s called snowfall because snow falls as precipitation from the sky when the temperature outside is low enough.

Deliver: Personal Branding

    • Will you be able to complete your project on time?
  • Nope i wont complete my project on time since I’m posting this over a week late and I didn’t even link any pages to each other yet.
    • Do you need to change your goals to be something less than the complete site

I might not be able to make back links to the home page.

 

To Do List for the time remaining:

  • Link pages to each other with html links
  • try to make a back link to the home Page
  • Neocities link to the final version of your home page: http://aer.neocities.org/Web%20Design/homePage05.html