Skip to content

Instantly share code, notes, and snippets.

@monteslu
Created June 21, 2013 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monteslu/5828029 to your computer and use it in GitHub Desktop.
Save monteslu/5828029 to your computer and use it in GitHub Desktop.
propeller
{
"entities": [
{
"points": [
{
"x": -137.33333333333334,
"y": -119.66666666666666
},
{
"x": 276.66666666666663,
"y": 59.33333333333334
},
{
"x": -139.33333333333334,
"y": 60.33333333333334
}
],
"x": 193.33333333333334,
"y": 249.66666666666666,
"staticBody": true,
"zone": false,
"type": "Polygon",
"id": 0
},
{
"x": 364.5,
"y": 434.5,
"halfWidth": 362.5,
"halfHeight": 32.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 1
},
{
"x": 773.5,
"y": 226.5,
"halfWidth": 109.5,
"halfHeight": 224.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 2
},
{
"x": 575,
"y": 314,
"radius": 18.788294228055936,
"staticBody": true,
"zone": false,
"type": "Circle",
"id": "hinge"
},
{
"x": 0,
"y": 169,
"halfWidth": 59,
"halfHeight": 252,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 3
},
{
"x": 355.5,
"y": -0.5,
"halfWidth": 340.5,
"halfHeight": 17.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 4
},
{
"x": 575,
"y": 314,
"halfWidth": 72,
"halfHeight": 22,
"staticBody": false,
"zone": false,
"type": "Rectangle",
"densitt": 50,
"id": "bar",
"fillStyle": "rgba(0,255,0,0.4)"
},
{
"x": 125,
"y": 63,
"radius": 15.34119409414458,
"staticBody": false,
"zone": false,
"type": "Circle",
"id": 5,
"friction": 0.1,
"density": 0.5,
"restitution": 0.9,
"fillStyle": "rgba(0,255,0,0.4)"
},
{
"x": 95,
"y": 57,
"radius": 18.601075237738275,
"staticBody": false,
"zone": false,
"type": "Circle",
"friction": 0.1,
"density": 0.5,
"restitution": 0.9,
"fillStyle": "rgba(0,255,0,0.4)",
"id": 6
},
{
"x": 108,
"y": 49,
"radius": 19.1049731745428,
"staticBody": false,
"zone": false,
"type": "Circle",
"fillStyle": "rgba(0,255,0,0.4)",
"friction": 0.1,
"density": 0.5,
"restitution": 0.9,
"id": 7
},
{
"x": 102,
"y": 36,
"radius": 15.652475842498529,
"staticBody": false,
"zone": false,
"type": "Circle",
"friction": 0.1,
"density": 0.5,
"restitution": 0.9,
"fillStyle": "rgba(0,255,0,0.4)",
"id": 8
}
],
"joints": [
{
"bodyId1": "hinge",
"bodyId2": "bar",
"type": "Revolute",
"id": "hj",
"jointAttributes": {
"motorSpeed": 5,
"enableMotor": true,
"maxMotorTorque": 1500
}
}
],
"canvas": {
"height": 420,
"width": 700
},
"backImg": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment