Math

Monday, January 28, 2013

Bouncy Circles Program

     In my programming class, we have be programming in Processing ( for anyone who didn't read the other entry on the class). For the subset of people just mentioned,  see the " Processing Drawing program entry. So far, we have spent two lessons working on a program with bouncy circles. The first lesson, we made a circle that moved across the screen and bounced of the sides. Then we played around with it so the circle changed color depending on where it was on the screen, and drew a line behind itself. This week, we added another ball to the screen. This took most of the lesson. and then we added a third ball. These tasks were pretty much typing the same code over and over, but they were still helpful to give me a slightly deeper understanding of the language that we were programming in. The most interesting thing we did, though, was at the very end. We made the balls bounce of each other when they collided. This was extremely thought-provoking to think about, and I enjoyed it a lot. Thanks for reading my blog, I'll try to have another entry done tomorrow (all though it might be published fairly late at night).

4 comments:

  1. I love that you're taking a programming course. Are you doing this through Parts & Crafts with fellow students? Some other venue? Are there only kids in the class, or adults also?

    ReplyDelete
    Replies
    1. The class is at parts and crafts and during the day. One of the instructors there usually sits in to learn as well, but other than him and the person teaching the class, it is all kids.

      Delete
  2. Nice programming project.... concentrating on one goal/game will give you the possibility of seeing many different ways of going to the same goal... one clearer, one more elegant, one longer, one more imaginative ... as Lao Tse wrote, "This is your way, that is my way, the way does not exist!"

    ReplyDelete