Excercise 6

I used the grid array to create the red ghost from Pacman. I also made my initials using a similar array and the color I had already chosen. I would like to expand this and make a big pixel art piece but I am not sure what to draw yet.
javascript
see code

Excercise 7: JSON File

This was our first try at the JSON file. We made a class of 16 properties and then adjusted in personally. This is my final result of the cars and their changing directions and speed.


javascript
see JS code
see JSON code
Weather

This is what I came up with for the API project. I used the Open Weather API and connected the data and properties from that API to these circles bouncing around the screen. The balls are controlled by temperature and wind speed while the size of the balls is actually connected to the humidity from that place. The colors are connected using max and min to the red and blue values of the RGB scale. With this you get the average temperatue for the day displayed in a color (blue to red like cold to hot).


javascript
play video
see code