Application: PBounce
It is a boring Friday. At work, I'm doing some testing harness work for the application for which there seems to be no end.
the lower cased one is working on some project and keeps talking about how he is doing something with DirectX. He is really, really, really slow with this project. No, really slow. I think he's been working on it since like 1998. Anyways, I can't spoil his thunder, because it is a very cool application. I'll just say this: It uses mechanics and physics. the lower cased one has been whining about how Direct3D doesn't have an IDE for meshes and problems with culling and cameras and blah, blah, blah. Then I find out that this way cool app is going to use fake physics. Ummmmmmmmm, not in my neck of the woods. So I told him to go back and read this book. It's on my summer reading list, so I have a copy. He even has a copy.
So I come to work over the last few days and all I hear is whining about how the physics is going to be tough and wahhh, wahhh. I give him a quick tutorial (10 minutes). Now I am horrible at physics, but love mechanics, so this was fun. He even understood what I had discussed (ok, my skills are third rate in this topic, but good enough to get him over the hump). I gave him the graph paper with the notes. He walked away smiling. I thought about it for a moment and decided that I had better go one step further. Because I'd come back to work on Monday and I'd hear how tough it is to write what I just put on paper (next he'll just ask me to write the whole app for him).
So I decided to throw him a bone. PBounce is my first application on the JJBR site. I'm not going to write an article because this application is so tiny, it is almost pathetic (the comments took longer to write than the actual code; there aren't a lot of comments). It took all of about 65 minutes to write. You can find the zip file for the application here . It is a .NET solution written in C#. It is one form that does all of the basic work.
If you want to see some basic velocity and acceleration code, look at it. If not, the world will likely come to an end (the end of the world would only come after the lower cased one releases his application, so you have about four or five years to gather your things and repent).
Before I forget, my real name is on the source code in the copyright notice. It's not like anyone cares, but it might be useful for this . This is not the first time that someone has associated my real name with my moniker.
----
I know my physics and mechanics skills are second rate. If you wish to yell at me about them, contact me here . Please use this contact info as well to yell at me about my lousy .NET coding skills or lousy opinions on anything. Just remember that I know where the delete button is located.