Play: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
# Document the element API |
# Document the element API |
||
# Write "Play!" |
# Write "Play!" |
||
<br> |
|||
== 1. Extend the elements API == |
== 1. Extend the elements API == |
||
The first thing that will be done in this summer of code project will be the extension of the Elements API to larger subset of the desired functionality.<br> Currently, elements supports only part of what is possible with the Box2D engine, and I propose to change this. |
The first thing that will be done in this summer of code project will be the extension of the Elements API to larger subset of the desired functionality.<br> Currently, elements supports only part of what is possible with the Box2D engine, and I propose to change this. |
||
<br><br> |
<br><br> |
||
First off, I will implement support for concave polygons. As you can see on the picture on the right, a convex polygon is a polygon that has no interior angles greater than 180 degrees. [[image:convex-concave.png | right]] This means there can be no "indentation" - not having this option makes many shapes impossible. I will add this functionality to Elements. |
|||
First off, I will implement support for concave shapes. |
|||
Secondly, I will add support for joints to the elements API. I will implement Revolute, prismatic, distance, pulley, gear and mouse joints. This will make it possible to create simple transmission systems, hinging systems, pulleys, rotation, and much more. Thus, this is a crucial feature for a Elements to support. |
|||
== 2. Document the elements API == |
Revision as of 17:43, 1 April 2008
Play - A summer of code project
This wiki page is about a summer of code project proposed by Erik Beerepoot. The mailing list entry is here A pdf version of this proposal is also available at my website
Introduction
This summer of code project proposes to extend Elements, a python wrapper around a 2D physics engine called box2d. After extending elements & writing extensive documentation for use with the XO laptop, I will use it to create a physics educational tool called "Play!" - for Physical science Learning And Discovery. "Play!" will provide an intuitive interface for kids to learn elementary physics concepts like Gravity, Projectile motion, Angular motion, and more.
Detailed Description
This project consists of three main parts:
- Extend the elements API
- Document the element API
- Write "Play!"
1. Extend the elements API
The first thing that will be done in this summer of code project will be the extension of the Elements API to larger subset of the desired functionality.
Currently, elements supports only part of what is possible with the Box2D engine, and I propose to change this.
First off, I will implement support for concave polygons. As you can see on the picture on the right, a convex polygon is a polygon that has no interior angles greater than 180 degrees.
This means there can be no "indentation" - not having this option makes many shapes impossible. I will add this functionality to Elements.
Secondly, I will add support for joints to the elements API. I will implement Revolute, prismatic, distance, pulley, gear and mouse joints. This will make it possible to create simple transmission systems, hinging systems, pulleys, rotation, and much more. Thus, this is a crucial feature for a Elements to support.