NETLOGO

NETLOGO is a great way to work with if you want to do great in python. I worked with NETLOGO and this is what I did. So basically I have to give it commands and I can create a certain shape base on the commands I gave. Also, some basic commands are "lt" = left turn , " rt" = right turn, "fd" move forward. Also, if I want to leave a trail, I have to type in pd as "turtle."


Python

I programmed with python and made this game.


This is how it turned out.

Advanced Programming

Processing

In class today, we used Processing to make pictures. I learned to make a point, line, rectangle, ellipse, an arc, and how to fill(shade) the shapes with color. To make a line I need to put the coordinate for two points and the programmed Processing will connect it together. For a rectangle, it's more complicated because I need to put the rectangle in the center and determine how big the rectangle will be based on width and height. for an ellipse, it is a lot like like the rectangle, I put the rectangle in the center and determine how big the ellipse will be. However for an arc, I have to put PI at the end for it to work. I also learned to fill in the shape with any color I like. FOr example if I want the shape to be black, I would put, " fill(0);// Black" and the color would be black.

I made a face and a house using Processing. Also I created a ball and made it bounced. in order to make the ball move, I have to put the x and y positions and the values of it. I also used, "setup();" , whichis different from the picture of a face and and house.

I also created a circle moving in circle to make a circle. I have to add conic sections skill for this because circles have to do with conic sections. It was not that difficult considering that most of the work was Mr.Farrel's doing. If I were to do it by myself I would have a difficult time because I have difficulties understanding conic section.

JavaScript


In class today, we learned to used JavaScript! From what I learned JavaScript, I can create many things with it. For example, I can type in the code to say "do you want to play?", and when I run it, a pop up will pop up. It will say " Do you want to play?". I also wrote if the respond is yes then it will say "Get ready. Also, If the response it cancel for no, then it will say " Give up...". Using JavaScript is like using python but the coding is a little different, like I have to use a semicolon instead of a colon.

What is Javascript?


According to About.com, JavaScript is a programming language used to make web pages interactive. It runs on your visitor's computer and doesn't require constant downloads from your website. JavaScript is often used to create polls and quizzes.

Facts about JavaScript according to http://www.freewillpost.com/2014/01/13-javascript-facts.html


* "JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, which was later renamed to LiveScript, and finally to JavaScript."

* "JavaScript is officially managed by Mozilla."

* "Microsoft's compatible dialect of the language is JScript."

* "Java and JavaScript are two different things"

Turing Test & Turing Machine


I also learned about he Turing Test and the Turing Machine. A Turing test is a test to determine whether it is human or a machine. So it is a way to test artificial intelligence. According to http://plato.stanford.edu/entries/turing-machine/, "Turing machines, first described by Alan Turing in (Turing 1937), are simple abstract computational devices intended to help investigate the extent and limitations of what can be computed."

Turing Test Picture

Turing Test Picture