Physics (activity): Difference between revisions
Jump to navigation
Jump to search
Alexlevenson (talk | contribs) |
Alexlevenson (talk | contribs) |
||
Line 15: | Line 15: | ||
[[Image:PhysicsTriangleDraw.png|160px]] [[Image:PhysicsSquareDrawing.png|160px]] [[Image:PhysicsCircleDrawing.png|160px]] |
[[Image:PhysicsTriangleDraw.png|160px]] [[Image:PhysicsSquareDrawing.png|160px]] [[Image:PhysicsCircleDrawing.png|160px]] |
||
Some discussion is required here... most shapes can't be defined simply by a single line. Any shape with fixed (relative) dimensions can, but that's not always what you want. |
|||
== Get Physics! == |
== Get Physics! == |
Revision as of 04:15, 3 July 2008
|
Physics
Physics is a physical world simulator -- you can add squares, circles, triangles, or draw your own shapes, and see them come to life with forces (think gravity, Newton!), friction (scrrrrape), and inertia (ahh, slow down!).
Shape Drawing
Now Implimented (mostly)!
Some discussion is required here... most shapes can't be defined simply by a single line. Any shape with fixed (relative) dimensions can, but that's not always what you want.
Get Physics!
Click this link in browse: Physics-0.1.xo
OR
sudo yum install git cd ~/Activities/ git clone git://dev.laptop.org/activities/physics
and to get the new and improved version:
cd physics git checkout -b Alex origin/Alex
Photographs
Thanks to the Elements team and Alex Levenson for portions of this example code!