Showing posts with label introduction. Show all posts
Showing posts with label introduction. Show all posts

March 14, 2013

Super Ball

The Khan Academy computer science module uses JavaScript with a library called Processing. Processing is what allows you to draw graphics, and JavaScript is what does everything else (which can be quite a lot).

When I first learned about Khan Academy, I had never programmed in JavaScript before, let alone Processing. But I had been programming for so long in other languages that I caught on very quickly, and wrote my first program: Super Ball.

I had sometimes thought about how cool a bouncing ball program with gravity would be, and when I found Khan Academy's computer science module, I just had to write one. So here it is; if you get a high score, just comment. Enjoy!

Khan Academy

Khan Academy is a website where anybody can go to learn all kinds of stuff, from history to mathematics. It's 100% free, and you don't even need an account.

My favorite thing about Khan Academy is the computer science module; you can write, save, and share computer programs, all on the site. I've been writing programs on Khan Academy for almost 6 months now, and still enjoy it as much as when I first started.

Here's the address: www.khanacademy.org Take a look, and see what you think.