Physics (activity): Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 9: Line 9:
= Physics =
= Physics =
[[Image:PhysicsElements.png|160px|left]]
[[Image:PhysicsElements.png|160px|left]]
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'''!).
Physics is a physical world simulator and playground -- 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'''!).

We also plan to add forces such as:
*Magnetism
*Motors
*Springs


== Shape Drawing ==
== Shape Drawing ==
Line 20: Line 25:
== Get Physics! ==
== Get Physics! ==
Click this link in browse: [http://dev.laptop.org/~bjordan/Physics-0.1.xo Physics-0.1.xo]
Click this link in browse: [http://dev.laptop.org/~bjordan/Physics-0.1.xo Physics-0.1.xo]
or this link for Alex's newer version:
[http://wiki.laptop.org/images/a/ad/Physics-1.0.xo Physics-1.0.xo]
OR
OR

sudo yum install git
sudo yum install git
cd ~/Activities/
cd ~/Activities/
git clone git://dev.laptop.org/activities/physics
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 =
= Photographs =

Revision as of 17:20, 7 July 2008

Activity-physics.svg

Physics

PhysicsElements.png

Physics is a physical world simulator and playground -- 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!).

We also plan to add forces such as:

  • Magnetism
  • Motors
  • Springs

Shape Drawing

Now Implimented (mostly)!

PhysicsTriangleDraw.png PhysicsSquareDrawing.png PhysicsCircleDrawing.png

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

Photographs

Thanks to the Elements team and Alex Levenson for portions of this example code!

Physics-1.JPG Physics-2.jpg Physics-3.jpg PhysicsNew1.png PhysicsNew2.png PhysicsNew3.png