These labs were designed by Prof. Chris Orban for Physics 1250 at OSU Marion and they should be generally useful for advanced high school and introductory college level. No calculus knowledge or prior programming experience is assumed.
These programming labs use a very nice programming framework called processing.org which is very similar to C/C++. There is also a convenient way to run these simulations using a web browser called processing.js
Step 0. If you are *not* using a computer that already has the processing.org environemnt installed, then follow the link below and choose windows 64-bit if you are using windows (and make sure to click "Extract" if asked), or Mac OSX if you are using a Mac.
If you are using a computer that already has the processing.org framework installed please continue:
Pre-Lab Part 1. Programming framework
Pre-Lab Part 2. Introduction to Planetoids (Coordinate System)
Pre-Lab Part 3. Introduction to Planetoids (Angle System)
(Extra credit:) Bellicose Birds with energy!
Lab 4. Planetoids with momentum!
Lab 5. Planetoids with torque!
Lab 6. Plantetoids with a spring!
Just for fun: realistic physics with Box2D
Comments on the algorithm behind Box2D
Just for fun: Fluid Mechanics with Box2D
Physics Programming Labs with Processing for Physics 1250 (2016) by Chris Orban is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Physics Programming Labs with Processing Source Code (2016) is a set of codes that are used with Physics Programming Labs with Processing for Physics 1250 (2016). These codes create interactive physics animations with a simplified syntax. These codes also illustrate the concept of vectors. Physics Programming Labs with Processing Source Code (2016) consists of the *.pde files available on this webpage. The source code is designed to be used with the processing.org programming framework.
Physics Programming Labs with Processing Source Code (2016) is licensed under the GNU General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.