Line 25: |
Line 25: |
| |valign="top"|[[Image:physics_pen.png|thumb|none|280px|Example illustrating the pen tool attached to the end of a pendulum.]] | | |valign="top"|[[Image:physics_pen.png|thumb|none|280px|Example illustrating the pen tool attached to the end of a pendulum.]] |
| |valign="top"|[[Image:physics-tracing.png|thumb|none|280px|Tracing multiple objects]] | | |valign="top"|[[Image:physics-tracing.png|thumb|none|280px|Tracing multiple objects]] |
| + | |+ |
| + | |valign="top"|[[File:TAGearTA.png|thumb|none|280px|A simple gear and motor generated in Turtle Art]] |
| + | |valign="top"|[[File:TAGear.png|thumb|none|280px|rendered in Physics]] |
| + | |+ |
| + | |valign="top"|[[File:Chain.png|thumb|none|280px|a chain generated in Turtle Art]] |
| |} | | |} |
| | | |
| == Ideas to try == | | == Ideas to try == |
| | | |
− | *Build a catapult to simulate Angry Bird | + | *Build a catapult to simulate Angry Birds |
| *Build a machine that sorts different sized balls in to two buckets, large and small, with no ball jams. | | *Build a machine that sorts different sized balls in to two buckets, large and small, with no ball jams. |
| *A cyclic mechanism for lifting balls from the bottom of the screen to the top, again and again. | | *A cyclic mechanism for lifting balls from the bottom of the screen to the top, again and again. |
Line 122: |
Line 127: |
| '''Note:''' The current model is cleared whenever the Erase button is pressed or a Clean block is run. | | '''Note:''' The current model is cleared whenever the Erase button is pressed or a Clean block is run. |
| | | |
− | ===== Example ===== | + | ===== Examples ===== |
− | A simple gear and motor generated in Turtle Art:
| |
− | | |
− | [[File:TAGearTA.png|300px]]
| |
− | [[File:TAGear.png|300px]]
| |
− | | |
| '''For Turtle Blocks versions 107 - 183''' | | '''For Turtle Blocks versions 107 - 183''' |
| [[File:TAgear.ta]] [[File:Gear.physics]] | | [[File:TAgear.ta]] [[File:Gear.physics]] |
Line 134: |
Line 134: |
| [http://people.sugarlabs.org/walter/physics-plugin.tar.gz] | | [http://people.sugarlabs.org/walter/physics-plugin.tar.gz] |
| | | |
− | '''A chain''' | + | '''Chain''' |
− | | |
− | [[File:Chain.png|300px]]
| |
− | | |
| Turtle Blocks project file: [http://people.sugarlabs.org/walter/chain.tb] | | Turtle Blocks project file: [http://people.sugarlabs.org/walter/chain.tb] |
| | | |
Line 144: |
Line 141: |
| [[File:Physics-plugin.tar.gz]] Physics plugin | | [[File:Physics-plugin.tar.gz]] Physics plugin |
| | | |
− | [http://github.com/walterbender/physics-plugin git repository] | + | [https://github.com/sugarlabs/physics git repository on GitHub] |
| | | |
| = Development = | | = Development = |
| [[Image:PhysicsElements.png|160px|right]] | | [[Image:PhysicsElements.png|160px|right]] |
− | There are quite a few code layers to contend with. A regular Python Activity acts as a Sugar wrapper to Physics which is written using OLPCGames which itself wraps Pygame, Physics then uses Elements as a wrapper for Box2D. | + | There are quite a few code layers to contend with. A regular Python Activity acts as a Sugar wrapper to Physics which is written using SugarGames which itself wraps Pygame, Physics then uses Elements as a wrapper for Box2D. |
| | | |
| ==Video== | | ==Video== |
Line 267: |
Line 264: |
| | | |
| * [http://activities.sugarlabs.org/en-US/sugar/addon/4193 Activity bundle] | | * [http://activities.sugarlabs.org/en-US/sugar/addon/4193 Activity bundle] |
− | * [http://git.sugarlabs.org/projects/physics GIT repository] | + | * [https://github.com/sugarlabs/physics/ GIT repository] |
| * [http://download.sugarlabs.org/sources/honey/Physics/ Source tarball] | | * [http://download.sugarlabs.org/sources/honey/Physics/ Source tarball] |
− | * [http://bugs.sugarlabs.org/query?component=Physics&groupdesc=1&group=resolution&col=id&col=summary&col=owner&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&col=reporter&order=priority Bug tracker]
| |