Physics: Difference between revisions

From OLPC
Jump to navigation Jump to search
(cat)
m (Reverted edits by 116.71.14.29 (Talk) to last revision by Skierpage)
 
(24 intermediate revisions by 13 users not shown)
Line 1: Line 1:
There are many bundles related to physics, including
There are many bundles related to physics, including
* A [[Physics (collection)]] (with articles about physics in a few languages)
* A [[Physics (activity)]] which provides a physics engine and scene editor
* A [[Physics (activity)]] which provides a physics engine and scene editor
* A Physics-based game called [[x2o]]
* A [[Physics (collection)]] (with articles about physics in a few languages)


There was a physics meeting on [[Physics meetings/July 10, 2008|July 10]].
There was a physics meeting on [[Physics meetings/July 10, 2008|July 10]].


== Physics simulations ==
== Physics simulations ==
See [[physics engines]] for a list of a few engines, and their current state of compatibility with stock Sugar builds on an XO.
See [[physics engines]] for a list of a few engines, and their current state of compatibility with stock Sugar builds on an XO, including Box2D, which is used in [[Physics (activity)]].


[[user:mokurai|mokurai]] is looking into other things that exist for upcoming discussions.
[[user:mokurai|mokurai]] is looking into other things that exist for upcoming discussions.


[[user:Bjordan|Brian]], [[user:DanielDrake|Daniel]] and [[user:Object404|Naz]] looked at various ports/wrappers of Box2D:
== [[Physics (activity)]] ==

{{olpcboxtop|toptext=[[{{PAGENAME}}|Physics]]}}
* http://box2dflash.sourceforge.net/ Actionscript 3 Box2D - This does not load with Gnash because Gnash tries to copy AVM1 (virtual machine of Flash 8 and below). It runs fine on Adobe Flash 9 & 10 which both use the AVM2 in both the Opera browser and the Browse Activity (albeit slowly because the Physics calculations here are Math & CPU heavy)
{{ OBX activity | [[Image: Activity-physics.svg|40px]]|extra}}
* http://jbox2d.org/ Java box2d... made by [[user:ewjordan]] No chance of working on the XO any time soon.
{{ OBX source dev|activities/physics}}
* http://box2d-js.sourceforge.net/index2.html Javascript Box2D - actually has the 5-ball pendulum you describe, in addition to a cool motorjoint-based ball-paddling/juggling device - I tested JS on the XO with the latest joyride -- it ran reasonably with two objects, unreasonably slow with three.
{{ OBX xobundle|http://dev.laptop.org/~bjordan/Physics-0.1.xo|Physics-0.1}}

{{ OBX team | [[User:Bjordan|Brian Jordan]], [[User:alexlevenson|Alex Levenson]], [[User:Crazy-chris|Chris Hager]]}}
[[Image:Pendulumjavascriptbox2d.jpg|350px|Javascript box2d running 5-ball pendulum]] [[Image:Bridgependulum.jpg|350px|Physics activity photo on XO bridge with 2 hanging balls]]
{{olpcboxbottom}}

See [[Activities]] and [[Physics (activity)]] for details of the physics engine and scene editor being built.
=== A physics scene editor ===
See [[Physics (activity)]] for details of the [[Sugar]] physics scene editor being built using the open source [http://box2d.org Box2D] physics library.


Current needs include:
Current needs include:
* a format for scenes that can be shared across engines.
* a format for scenes that can be shared across engines.
* a way to save/export a scene from within the activity
* a way to save/export(/import?) a scene from within the activity


[[Physics_(activity)]] and [[x2o]] would rely on this.


== Physics and vision processing ==
Activities planned that would rely on this include
* a scene manipulator and an [[incredible machine]] variant.


[[Vision processing]] shows much promise for allowing freeform '''kinesthetic interaction''' with the XO.


Combining this with user-defined physics simulation would allow for more creative visual feedback from this kinesthetic interaction.
<br clear=all/>

<pre>(nrp via games list) For example, letting someone
take a picture of themselves, let them select their face
in the picture, and then crop that and use it as a character
in a game.</pre>


== Physics (other bundles) ==
== Physics (other bundles) ==
There are physics [[collections]] in a few languages. There are also a number of unsugarized physics engines or simulators that have been tested on the XO, which could be made available
There are physics [[collections]] in a few languages. There are also a number of unsugarized physics engines or simulators that have been tested on the XO, which could be made available


== Physics curriculum materials ==


There is a very interesting on-line high school physics course here: http://online.cctt.org/
{{stub}}


{{stub}}


[[Category:Science]]
[[Category:Physics]]
[[Category:Physics]]

Latest revision as of 21:00, 26 August 2011

There are many bundles related to physics, including

There was a physics meeting on July 10.

Physics simulations

See physics engines for a list of a few engines, and their current state of compatibility with stock Sugar builds on an XO, including Box2D, which is used in Physics (activity).

mokurai is looking into other things that exist for upcoming discussions.

Brian, Daniel and Naz looked at various ports/wrappers of Box2D:

  • http://box2dflash.sourceforge.net/ Actionscript 3 Box2D - This does not load with Gnash because Gnash tries to copy AVM1 (virtual machine of Flash 8 and below). It runs fine on Adobe Flash 9 & 10 which both use the AVM2 in both the Opera browser and the Browse Activity (albeit slowly because the Physics calculations here are Math & CPU heavy)
  • http://jbox2d.org/ Java box2d... made by user:ewjordan No chance of working on the XO any time soon.
  • http://box2d-js.sourceforge.net/index2.html Javascript Box2D - actually has the 5-ball pendulum you describe, in addition to a cool motorjoint-based ball-paddling/juggling device - I tested JS on the XO with the latest joyride -- it ran reasonably with two objects, unreasonably slow with three.

Javascript box2d running 5-ball pendulum Physics activity photo on XO bridge with 2 hanging balls

A physics scene editor

See Physics (activity) for details of the Sugar physics scene editor being built using the open source Box2D physics library.

Current needs include:

  • a format for scenes that can be shared across engines.
  • a way to save/export(/import?) a scene from within the activity

Physics_(activity) and x2o would rely on this.

Physics and vision processing

Vision processing shows much promise for allowing freeform kinesthetic interaction with the XO.

Combining this with user-defined physics simulation would allow for more creative visual feedback from this kinesthetic interaction.

(nrp via games list) For example, letting someone 
take a picture of themselves, let them select their face
in the picture, and then crop that and use it as a character
in a game.

Physics (other bundles)

There are physics collections in a few languages. There are also a number of unsugarized physics engines or simulators that have been tested on the XO, which could be made available

Physics curriculum materials

There is a very interesting on-line high school physics course here: http://online.cctt.org/

This article is a stub. You can help the OLPC project by expanding it.