Physics: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (merge suggestion.)
m (Reverted edits by 116.71.14.29 (Talk) to last revision by Skierpage)
 
(7 intermediate revisions by 4 users not shown)
Line 11: Line 11:
[[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]] and [[user:DanielDrake|Daniel]] looked at various ports/wrappers of Box2D:
[[user:Bjordan|Brian]], [[user:DanielDrake|Daniel]] and [[user:Object404|Naz]] looked at various ports/wrappers of Box2D:


* http://box2dflash.sourceforge.net/ Actionscript 3 Box2D - I tried this on the XO with the latest joyride in gnash... it wouldn't load. Will somebody please try with Flash?
* 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://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.
* 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.
Line 19: Line 19:
[[Image:Pendulumjavascriptbox2d.jpg|350px|Javascript box2d running 5-ball pendulum]] [[Image:Bridgependulum.jpg|350px|Physics activity photo on XO bridge with 2 hanging balls]]
[[Image:Pendulumjavascriptbox2d.jpg|350px|Javascript box2d running 5-ball pendulum]] [[Image:Bridgependulum.jpg|350px|Physics activity photo on XO bridge with 2 hanging balls]]


=== A physics scene editor ===
== [[Physics (activity)]] ==
See [[Physics (activity)]] for details of the [[Sugar]] physics scene editor being built using the open source [http://box2d.org Box2D] physics library.
{{merge|Below text could be merged into Physics (activity) full wiki page}}
{{olpcboxtop|toptext=[[{{PAGENAME}}|Physics]]}}
{{ OBX activity | [[Image: Activity-physics.svg|40px]]|extra}}
{{ OBX source dev|activities/physics}}
{{ OBX xobundle|http://dev.laptop.org/~bjordan/Physics-0.2.xo|Physics-0.2}}
{{ OBX team | [[User:Bjordan|Brian Jordan]], [[User:alexlevenson|Alex Levenson]], [[User:Crazy-chris|Chris Hager]]}}
{{olpcboxbottom}}
See [[Physics (activity)]] (and [[Activities]]) 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:
Line 33: Line 26:
* a way to save/export(/import?) a scene from within the activity
* a way to save/export(/import?) a scene from within the activity


Activities (current and planned) that would rely on this include
[[Physics_(activity)]] and [[x2o]] would rely on this.
* the [[Physics_(activity)|Physics activity]]
* a planned [http://en.wikipedia.org/wiki/The_Incredible_Machine Incredible Machine] variant, [[x2o]]

<br clear=all/>


== Physics and vision processing ==
== Physics and vision processing ==
Line 55: Line 44:
== Physics curriculum materials ==
== Physics curriculum materials ==


There is a very interesting on-line hogh school physics course here: http://online.cctt.org/
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.