Welcome!

Welcome to the shack

Sunday, February 5, 2012

Snaking my way through python

Now, at the end of the day, I can say the project 01 was a success. So what it didn't turn out to be exactly like angry birds? It works! Given any x and y axis distances, my program can trace a line and draw a circle there. But that's not all! My program also calculates the bird's velocity with an intended trajectory. While it's not particularly practical or fun in any way, whatsoever, it still represents a giant step for me as a novice programmer. I also added something extra in mine: when the user inputs the intended distances, it calculates the ideal angle for such a point. For example, if the user chose coordinates 100 and 100, my program would calculate the ideal angle to be 45 degrees, using a little trigonometry magic. Anyways, I hope to continue working towards making better and more advanced programs in the future.

- zk : out

No comments:

Post a Comment