Processing

Processing

We learned about Processing, a java-like language that is good for visuals.


After learning how to make loops, conditionals, variables, and functions, we made some functions in sketchpad.cc.

here is a smiley program.



the program draws the shapes as dictated by the parameters. The arc was the hardest to get right.



here is a bouncing ball program.



i have the program set to reverse the velocity when the ball is almost off screen.


we made multiple bouncing balls with different velocities and colors. Classes enabled to make many objects without needing thousands of lines of code. For whatever reason, my code wouldn't work despite being the same code.


here is a "more fun" version of the previous program.




RECAP

I learned how to code in python, html, and processing.


I learned how to make robots move around and do things


I learned how to computers do the things that they do.


I learned how to use 3d graphics.


I learned how to teach a computer to play games.