mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-24 09:36:48 -05:00
2091 lines
No EOL
27 KiB
JSON
2091 lines
No EOL
27 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 224
|
|
},
|
|
"composites": {
|
|
"#": 227
|
|
},
|
|
"constraints": {
|
|
"#": 228
|
|
},
|
|
"events": {
|
|
"#": 232
|
|
},
|
|
"gravity": {
|
|
"#": 234
|
|
},
|
|
"id": 0,
|
|
"isModified": true,
|
|
"label": "World",
|
|
"parent": "",
|
|
"type": "composite"
|
|
},
|
|
[
|
|
{
|
|
"#": 2
|
|
},
|
|
{
|
|
"#": 23
|
|
},
|
|
{
|
|
"#": 44
|
|
},
|
|
{
|
|
"#": 65
|
|
},
|
|
{
|
|
"#": 86
|
|
},
|
|
{
|
|
"#": 107
|
|
},
|
|
{
|
|
"#": 128
|
|
},
|
|
{
|
|
"#": 149
|
|
},
|
|
{
|
|
"#": 203
|
|
}
|
|
],
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 40930.25,
|
|
"axes": {
|
|
"#": 3
|
|
},
|
|
"bounds": {
|
|
"#": 6
|
|
},
|
|
"collisionFilter": {
|
|
"#": 9
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 10
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 11
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 0,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 12
|
|
},
|
|
"positionImpulse": {
|
|
"#": 13
|
|
},
|
|
"positionPrev": {
|
|
"#": 14
|
|
},
|
|
"render": {
|
|
"#": 15
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 17
|
|
},
|
|
"vertices": {
|
|
"#": 18
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 4
|
|
},
|
|
{
|
|
"#": 5
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 7
|
|
},
|
|
"min": {
|
|
"#": 8
|
|
}
|
|
},
|
|
{
|
|
"x": 805.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"x": -5.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": -5
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": -5
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 16
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 19
|
|
},
|
|
{
|
|
"#": 20
|
|
},
|
|
{
|
|
"#": 21
|
|
},
|
|
{
|
|
"#": 22
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 40930.25,
|
|
"axes": {
|
|
"#": 24
|
|
},
|
|
"bounds": {
|
|
"#": 27
|
|
},
|
|
"collisionFilter": {
|
|
"#": 30
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 31
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 32
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 1,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 33
|
|
},
|
|
"positionImpulse": {
|
|
"#": 34
|
|
},
|
|
"positionPrev": {
|
|
"#": 35
|
|
},
|
|
"render": {
|
|
"#": 36
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 38
|
|
},
|
|
"vertices": {
|
|
"#": 39
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 25
|
|
},
|
|
{
|
|
"#": 26
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 28
|
|
},
|
|
"min": {
|
|
"#": 29
|
|
}
|
|
},
|
|
{
|
|
"x": 805.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"x": -5.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 605
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 605
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 37
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 40
|
|
},
|
|
{
|
|
"#": 41
|
|
},
|
|
{
|
|
"#": 42
|
|
},
|
|
{
|
|
"#": 43
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 30830.25,
|
|
"axes": {
|
|
"#": 45
|
|
},
|
|
"bounds": {
|
|
"#": 48
|
|
},
|
|
"collisionFilter": {
|
|
"#": 51
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 52
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 53
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 2,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 54
|
|
},
|
|
"positionImpulse": {
|
|
"#": 55
|
|
},
|
|
"positionPrev": {
|
|
"#": 56
|
|
},
|
|
"render": {
|
|
"#": 57
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 59
|
|
},
|
|
"vertices": {
|
|
"#": 60
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 46
|
|
},
|
|
{
|
|
"#": 47
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 49
|
|
},
|
|
"min": {
|
|
"#": 50
|
|
}
|
|
},
|
|
{
|
|
"x": 830.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"x": 779.75,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 805,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 805,
|
|
"y": 300
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 58
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 61
|
|
},
|
|
{
|
|
"#": 62
|
|
},
|
|
{
|
|
"#": 63
|
|
},
|
|
{
|
|
"#": 64
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 779.75,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 830.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 830.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 779.75,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 30830.25,
|
|
"axes": {
|
|
"#": 66
|
|
},
|
|
"bounds": {
|
|
"#": 69
|
|
},
|
|
"collisionFilter": {
|
|
"#": 72
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 73
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 74
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 3,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 75
|
|
},
|
|
"positionImpulse": {
|
|
"#": 76
|
|
},
|
|
"positionPrev": {
|
|
"#": 77
|
|
},
|
|
"render": {
|
|
"#": 78
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 80
|
|
},
|
|
"vertices": {
|
|
"#": 81
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 67
|
|
},
|
|
{
|
|
"#": 68
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 70
|
|
},
|
|
"min": {
|
|
"#": 71
|
|
}
|
|
},
|
|
{
|
|
"x": 20.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"x": -30.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": -5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": -5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 79
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 82
|
|
},
|
|
{
|
|
"#": 83
|
|
},
|
|
{
|
|
"#": 84
|
|
},
|
|
{
|
|
"#": 85
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -30.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 20.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 20.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -30.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 2500,
|
|
"axes": {
|
|
"#": 87
|
|
},
|
|
"bounds": {
|
|
"#": 90
|
|
},
|
|
"collisionFilter": {
|
|
"#": 93
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 94
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 95
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 4,
|
|
"inertia": 4166.666666666667,
|
|
"inverseInertia": 0.00023999999999999998,
|
|
"inverseMass": 0.4,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 2.5,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 96
|
|
},
|
|
"positionImpulse": {
|
|
"#": 97
|
|
},
|
|
"positionPrev": {
|
|
"#": 98
|
|
},
|
|
"render": {
|
|
"#": 99
|
|
},
|
|
"restitution": 0.9,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 101
|
|
},
|
|
"vertices": {
|
|
"#": 102
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 88
|
|
},
|
|
{
|
|
"#": 89
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 91
|
|
},
|
|
"min": {
|
|
"#": 92
|
|
}
|
|
},
|
|
{
|
|
"x": 125,
|
|
"y": 175
|
|
},
|
|
{
|
|
"x": 75,
|
|
"y": 125
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 100,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 100,
|
|
"y": 150
|
|
},
|
|
{
|
|
"fillStyle": "#4ECDC4",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 100
|
|
},
|
|
"strokeStyle": "#1b9a91",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 103
|
|
},
|
|
{
|
|
"#": 104
|
|
},
|
|
{
|
|
"#": 105
|
|
},
|
|
{
|
|
"#": 106
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 75,
|
|
"y": 125
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 125,
|
|
"y": 125
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 125,
|
|
"y": 175
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 75,
|
|
"y": 175
|
|
},
|
|
{
|
|
"angle": -0.47123889803846897,
|
|
"anglePrev": -0.47123889803846897,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 2500,
|
|
"axes": {
|
|
"#": 108
|
|
},
|
|
"bounds": {
|
|
"#": 111
|
|
},
|
|
"collisionFilter": {
|
|
"#": 114
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 115
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 116
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 5,
|
|
"inertia": 4166.666666666667,
|
|
"inverseInertia": 0.00023999999999999998,
|
|
"inverseMass": 0.4,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 2.5,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 117
|
|
},
|
|
"positionImpulse": {
|
|
"#": 118
|
|
},
|
|
"positionPrev": {
|
|
"#": 119
|
|
},
|
|
"render": {
|
|
"#": 120
|
|
},
|
|
"restitution": 0.9,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 122
|
|
},
|
|
"vertices": {
|
|
"#": 123
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 109
|
|
},
|
|
{
|
|
"#": 110
|
|
}
|
|
],
|
|
{
|
|
"x": 0.45399049973954675,
|
|
"y": 0.8910065241883679
|
|
},
|
|
{
|
|
"x": -0.8910065241883679,
|
|
"y": 0.45399049973954675
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 112
|
|
},
|
|
"min": {
|
|
"#": 113
|
|
}
|
|
},
|
|
{
|
|
"x": 253.62492559819788,
|
|
"y": 183.62492559819788
|
|
},
|
|
{
|
|
"x": 186.37507440180212,
|
|
"y": 116.37507440180214
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 220,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 220,
|
|
"y": 150
|
|
},
|
|
{
|
|
"fillStyle": "#FF6B6B",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 121
|
|
},
|
|
"strokeStyle": "#cc3838",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 124
|
|
},
|
|
{
|
|
"#": 125
|
|
},
|
|
{
|
|
"#": 126
|
|
},
|
|
{
|
|
"#": 127
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 186.37507440180212,
|
|
"y": 139.07459938877946
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 230.92540061122054,
|
|
"y": 116.37507440180214
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 253.62492559819788,
|
|
"y": 160.92540061122054
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 209.07459938877946,
|
|
"y": 183.62492559819788
|
|
},
|
|
{
|
|
"angle": -0.7853981633974483,
|
|
"anglePrev": -0.7853981633974483,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 2500,
|
|
"axes": {
|
|
"#": 129
|
|
},
|
|
"bounds": {
|
|
"#": 132
|
|
},
|
|
"collisionFilter": {
|
|
"#": 135
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 136
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 137
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 6,
|
|
"inertia": 4166.666666666667,
|
|
"inverseInertia": 0.00023999999999999998,
|
|
"inverseMass": 0.4,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 2.5,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 138
|
|
},
|
|
"positionImpulse": {
|
|
"#": 139
|
|
},
|
|
"positionPrev": {
|
|
"#": 140
|
|
},
|
|
"render": {
|
|
"#": 141
|
|
},
|
|
"restitution": 0.9,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 143
|
|
},
|
|
"vertices": {
|
|
"#": 144
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 130
|
|
},
|
|
{
|
|
"#": 131
|
|
}
|
|
],
|
|
{
|
|
"x": 0.7071067811865475,
|
|
"y": 0.7071067811865476
|
|
},
|
|
{
|
|
"x": -0.7071067811865476,
|
|
"y": 0.7071067811865475
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 133
|
|
},
|
|
"min": {
|
|
"#": 134
|
|
}
|
|
},
|
|
{
|
|
"x": 375.3553390593274,
|
|
"y": 185.35533905932738
|
|
},
|
|
{
|
|
"x": 304.6446609406726,
|
|
"y": 114.64466094067262
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 340,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 340,
|
|
"y": 150
|
|
},
|
|
{
|
|
"fillStyle": "#C7F464",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 142
|
|
},
|
|
"strokeStyle": "#94c131",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 145
|
|
},
|
|
{
|
|
"#": 146
|
|
},
|
|
{
|
|
"#": 147
|
|
},
|
|
{
|
|
"#": 148
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 304.6446609406726,
|
|
"y": 150
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 340,
|
|
"y": 114.64466094067262
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 375.3553390593274,
|
|
"y": 150
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 340,
|
|
"y": 185.35533905932738
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 1944.4530819999998,
|
|
"axes": {
|
|
"#": 150
|
|
},
|
|
"bounds": {
|
|
"#": 164
|
|
},
|
|
"circleRadius": 25,
|
|
"collisionFilter": {
|
|
"#": 167
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 168
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 169
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 7,
|
|
"inertia": 2407.040215928269,
|
|
"inverseInertia": 0.0004154479818752644,
|
|
"inverseMass": 0.5142834297505565,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Circle Body",
|
|
"mass": 1.9444530819999999,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 170
|
|
},
|
|
"positionImpulse": {
|
|
"#": 171
|
|
},
|
|
"positionPrev": {
|
|
"#": 172
|
|
},
|
|
"render": {
|
|
"#": 173
|
|
},
|
|
"restitution": 0.9,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 175
|
|
},
|
|
"vertices": {
|
|
"#": 176
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 151
|
|
},
|
|
{
|
|
"#": 152
|
|
},
|
|
{
|
|
"#": 153
|
|
},
|
|
{
|
|
"#": 154
|
|
},
|
|
{
|
|
"#": 155
|
|
},
|
|
{
|
|
"#": 156
|
|
},
|
|
{
|
|
"#": 157
|
|
},
|
|
{
|
|
"#": 158
|
|
},
|
|
{
|
|
"#": 159
|
|
},
|
|
{
|
|
"#": 160
|
|
},
|
|
{
|
|
"#": 161
|
|
},
|
|
{
|
|
"#": 162
|
|
},
|
|
{
|
|
"#": 163
|
|
}
|
|
],
|
|
{
|
|
"x": -0.9709182366411434,
|
|
"y": -0.23941131501592125
|
|
},
|
|
{
|
|
"x": -0.8855293211163864,
|
|
"y": -0.4645834924350539
|
|
},
|
|
{
|
|
"x": -0.748461108518164,
|
|
"y": -0.6631786856012194
|
|
},
|
|
{
|
|
"x": -0.5679927261836174,
|
|
"y": -0.8230335734358
|
|
},
|
|
{
|
|
"x": -0.35473926289412316,
|
|
"y": -0.9349652696016757
|
|
},
|
|
{
|
|
"x": -0.1204602009454297,
|
|
"y": -0.9927181573781084
|
|
},
|
|
{
|
|
"x": 0.1204602009454297,
|
|
"y": -0.9927181573781084
|
|
},
|
|
{
|
|
"x": 0.35473926289412316,
|
|
"y": -0.9349652696016757
|
|
},
|
|
{
|
|
"x": 0.5679927261836174,
|
|
"y": -0.8230335734358
|
|
},
|
|
{
|
|
"x": 0.748461108518164,
|
|
"y": -0.6631786856012194
|
|
},
|
|
{
|
|
"x": 0.8855293211163864,
|
|
"y": -0.4645834924350539
|
|
},
|
|
{
|
|
"x": 0.9709182366411434,
|
|
"y": -0.23941131501592125
|
|
},
|
|
{
|
|
"x": 1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 165
|
|
},
|
|
"min": {
|
|
"#": 166
|
|
}
|
|
},
|
|
{
|
|
"x": 484.818,
|
|
"y": 175
|
|
},
|
|
{
|
|
"x": 435.182,
|
|
"y": 125
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 460,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 460,
|
|
"y": 150
|
|
},
|
|
{
|
|
"fillStyle": "#FF6B6B",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 174
|
|
},
|
|
"strokeStyle": "#cc3838",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 177
|
|
},
|
|
{
|
|
"#": 178
|
|
},
|
|
{
|
|
"#": 179
|
|
},
|
|
{
|
|
"#": 180
|
|
},
|
|
{
|
|
"#": 181
|
|
},
|
|
{
|
|
"#": 182
|
|
},
|
|
{
|
|
"#": 183
|
|
},
|
|
{
|
|
"#": 184
|
|
},
|
|
{
|
|
"#": 185
|
|
},
|
|
{
|
|
"#": 186
|
|
},
|
|
{
|
|
"#": 187
|
|
},
|
|
{
|
|
"#": 188
|
|
},
|
|
{
|
|
"#": 189
|
|
},
|
|
{
|
|
"#": 190
|
|
},
|
|
{
|
|
"#": 191
|
|
},
|
|
{
|
|
"#": 192
|
|
},
|
|
{
|
|
"#": 193
|
|
},
|
|
{
|
|
"#": 194
|
|
},
|
|
{
|
|
"#": 195
|
|
},
|
|
{
|
|
"#": 196
|
|
},
|
|
{
|
|
"#": 197
|
|
},
|
|
{
|
|
"#": 198
|
|
},
|
|
{
|
|
"#": 199
|
|
},
|
|
{
|
|
"#": 200
|
|
},
|
|
{
|
|
"#": 201
|
|
},
|
|
{
|
|
"#": 202
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 484.818,
|
|
"y": 153.013
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 483.375,
|
|
"y": 158.865
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 480.575,
|
|
"y": 164.202
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 476.578,
|
|
"y": 168.713
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 4,
|
|
"isInternal": false,
|
|
"x": 471.618,
|
|
"y": 172.136
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 5,
|
|
"isInternal": false,
|
|
"x": 465.983,
|
|
"y": 174.274
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 6,
|
|
"isInternal": false,
|
|
"x": 460,
|
|
"y": 175
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 7,
|
|
"isInternal": false,
|
|
"x": 454.017,
|
|
"y": 174.274
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 8,
|
|
"isInternal": false,
|
|
"x": 448.382,
|
|
"y": 172.136
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 9,
|
|
"isInternal": false,
|
|
"x": 443.422,
|
|
"y": 168.713
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 10,
|
|
"isInternal": false,
|
|
"x": 439.425,
|
|
"y": 164.202
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 11,
|
|
"isInternal": false,
|
|
"x": 436.625,
|
|
"y": 158.865
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 12,
|
|
"isInternal": false,
|
|
"x": 435.182,
|
|
"y": 153.013
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 13,
|
|
"isInternal": false,
|
|
"x": 435.182,
|
|
"y": 146.987
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 14,
|
|
"isInternal": false,
|
|
"x": 436.625,
|
|
"y": 141.135
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 15,
|
|
"isInternal": false,
|
|
"x": 439.425,
|
|
"y": 135.798
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 16,
|
|
"isInternal": false,
|
|
"x": 443.422,
|
|
"y": 131.287
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 17,
|
|
"isInternal": false,
|
|
"x": 448.382,
|
|
"y": 127.864
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 18,
|
|
"isInternal": false,
|
|
"x": 454.017,
|
|
"y": 125.726
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 19,
|
|
"isInternal": false,
|
|
"x": 460,
|
|
"y": 125
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 20,
|
|
"isInternal": false,
|
|
"x": 465.983,
|
|
"y": 125.726
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 21,
|
|
"isInternal": false,
|
|
"x": 471.618,
|
|
"y": 127.864
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 22,
|
|
"isInternal": false,
|
|
"x": 476.578,
|
|
"y": 131.287
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 23,
|
|
"isInternal": false,
|
|
"x": 480.575,
|
|
"y": 135.798
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 24,
|
|
"isInternal": false,
|
|
"x": 483.375,
|
|
"y": 141.135
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 25,
|
|
"isInternal": false,
|
|
"x": 484.818,
|
|
"y": 146.987
|
|
},
|
|
{
|
|
"angle": -1.5707963267948966,
|
|
"anglePrev": -1.5707963267948966,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 3600,
|
|
"axes": {
|
|
"#": 204
|
|
},
|
|
"bounds": {
|
|
"#": 207
|
|
},
|
|
"collisionFilter": {
|
|
"#": 210
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 211
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 212
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 8,
|
|
"inertia": 39360,
|
|
"inverseInertia": 0.00002540650406504065,
|
|
"inverseMass": 0.2777777777777778,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 3.6,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 213
|
|
},
|
|
"positionImpulse": {
|
|
"#": 214
|
|
},
|
|
"positionPrev": {
|
|
"#": 215
|
|
},
|
|
"render": {
|
|
"#": 216
|
|
},
|
|
"restitution": 0.9,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 218
|
|
},
|
|
"vertices": {
|
|
"#": 219
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 205
|
|
},
|
|
{
|
|
"#": 206
|
|
}
|
|
],
|
|
{
|
|
"x": 1,
|
|
"y": 6.123233995736766e-17
|
|
},
|
|
{
|
|
"x": -6.123233995736766e-17,
|
|
"y": 1
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 208
|
|
},
|
|
"min": {
|
|
"#": 209
|
|
}
|
|
},
|
|
{
|
|
"x": 710,
|
|
"y": 240
|
|
},
|
|
{
|
|
"x": 690,
|
|
"y": 60
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 700,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 700,
|
|
"y": 150
|
|
},
|
|
{
|
|
"fillStyle": "#C44D58",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 217
|
|
},
|
|
"strokeStyle": "#911a25",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 220
|
|
},
|
|
{
|
|
"#": 221
|
|
},
|
|
{
|
|
"#": 222
|
|
},
|
|
{
|
|
"#": 223
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 690,
|
|
"y": 240
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 690,
|
|
"y": 60
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 710,
|
|
"y": 60
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 710,
|
|
"y": 240
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 225
|
|
},
|
|
"min": {
|
|
"#": 226
|
|
}
|
|
},
|
|
{
|
|
"x": 1100,
|
|
"y": 900
|
|
},
|
|
{
|
|
"x": -300,
|
|
"y": -300
|
|
},
|
|
[],
|
|
[
|
|
{
|
|
"#": 229
|
|
}
|
|
],
|
|
{
|
|
"angularStiffness": 1,
|
|
"bodyB": "",
|
|
"id": 1,
|
|
"label": "Mouse Constraint",
|
|
"length": 0.01,
|
|
"pointA": {
|
|
"#": 230
|
|
},
|
|
"pointB": "",
|
|
"render": {
|
|
"#": 231
|
|
},
|
|
"stiffness": 0.1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"lineWidth": 3,
|
|
"strokeStyle": "#90EE90",
|
|
"visible": true
|
|
},
|
|
{
|
|
"afterAdd": {
|
|
"#": 233
|
|
}
|
|
},
|
|
[],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |