mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
2021 lines
No EOL
26 KiB
JSON
2021 lines
No EOL
26 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 212
|
|
},
|
|
"composites": {
|
|
"#": 215
|
|
},
|
|
"constraints": {
|
|
"#": 216
|
|
},
|
|
"events": {
|
|
"#": 220
|
|
},
|
|
"gravity": {
|
|
"#": 222
|
|
},
|
|
"id": 0,
|
|
"isModified": true,
|
|
"label": "World",
|
|
"parent": "",
|
|
"type": "composite"
|
|
},
|
|
[
|
|
{
|
|
"#": 2
|
|
},
|
|
{
|
|
"#": 23
|
|
},
|
|
{
|
|
"#": 44
|
|
},
|
|
{
|
|
"#": 65
|
|
},
|
|
{
|
|
"#": 86
|
|
},
|
|
{
|
|
"#": 107
|
|
},
|
|
{
|
|
"#": 128
|
|
},
|
|
{
|
|
"#": 149
|
|
},
|
|
{
|
|
"#": 170
|
|
},
|
|
{
|
|
"#": 191
|
|
}
|
|
],
|
|
{
|
|
"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.1885,
|
|
"anglePrev": 0.1885,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 14000,
|
|
"axes": {
|
|
"#": 87
|
|
},
|
|
"bounds": {
|
|
"#": 90
|
|
},
|
|
"collisionFilter": {
|
|
"#": 93
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 94
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 95
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 4,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 96
|
|
},
|
|
"positionImpulse": {
|
|
"#": 97
|
|
},
|
|
"positionPrev": {
|
|
"#": 98
|
|
},
|
|
"render": {
|
|
"#": 99
|
|
},
|
|
"restitution": 0,
|
|
"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.18738,
|
|
"y": 0.98229
|
|
},
|
|
{
|
|
"x": -0.98229,
|
|
"y": -0.18738
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 91
|
|
},
|
|
"min": {
|
|
"#": 92
|
|
}
|
|
},
|
|
{
|
|
"x": 645.67435,
|
|
"y": 255.40633
|
|
},
|
|
{
|
|
"x": -45.67435,
|
|
"y": 104.59367
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 180
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 180
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 100
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 103
|
|
},
|
|
{
|
|
"#": 104
|
|
},
|
|
{
|
|
"#": 105
|
|
},
|
|
{
|
|
"#": 106
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -41.92672,
|
|
"y": 104.59367
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 645.67435,
|
|
"y": 235.76059
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 641.92672,
|
|
"y": 255.40633
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -45.67435,
|
|
"y": 124.23941
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 1600,
|
|
"axes": {
|
|
"#": 108
|
|
},
|
|
"bounds": {
|
|
"#": 111
|
|
},
|
|
"collisionFilter": {
|
|
"#": 114
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 115
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 116
|
|
},
|
|
"friction": 0.001,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 5,
|
|
"inertia": 1706.66667,
|
|
"inverseInertia": 0.00059,
|
|
"inverseMass": 0.625,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 1.6,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 117
|
|
},
|
|
"positionImpulse": {
|
|
"#": 118
|
|
},
|
|
"positionPrev": {
|
|
"#": 119
|
|
},
|
|
"render": {
|
|
"#": 120
|
|
},
|
|
"restitution": 0,
|
|
"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,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 112
|
|
},
|
|
"min": {
|
|
"#": 113
|
|
}
|
|
},
|
|
{
|
|
"x": 320,
|
|
"y": 90
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 50
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 70
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 70
|
|
},
|
|
{
|
|
"fillStyle": "#4ECDC4",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 121
|
|
},
|
|
"strokeStyle": "#1b9a91",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 124
|
|
},
|
|
{
|
|
"#": 125
|
|
},
|
|
{
|
|
"#": 126
|
|
},
|
|
{
|
|
"#": 127
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 50
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 50
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 90
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 90
|
|
},
|
|
{
|
|
"angle": 0.1885,
|
|
"anglePrev": 0.1885,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 14000,
|
|
"axes": {
|
|
"#": 129
|
|
},
|
|
"bounds": {
|
|
"#": 132
|
|
},
|
|
"collisionFilter": {
|
|
"#": 135
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 136
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 137
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 6,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 138
|
|
},
|
|
"positionImpulse": {
|
|
"#": 139
|
|
},
|
|
"positionPrev": {
|
|
"#": 140
|
|
},
|
|
"render": {
|
|
"#": 141
|
|
},
|
|
"restitution": 0,
|
|
"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.18738,
|
|
"y": 0.98229
|
|
},
|
|
{
|
|
"x": -0.98229,
|
|
"y": -0.18738
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 133
|
|
},
|
|
"min": {
|
|
"#": 134
|
|
}
|
|
},
|
|
{
|
|
"x": 645.67435,
|
|
"y": 425.40633
|
|
},
|
|
{
|
|
"x": -45.67435,
|
|
"y": 274.59367
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 350
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 350
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 142
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 145
|
|
},
|
|
{
|
|
"#": 146
|
|
},
|
|
{
|
|
"#": 147
|
|
},
|
|
{
|
|
"#": 148
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -41.92672,
|
|
"y": 274.59367
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 645.67435,
|
|
"y": 405.76059
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 641.92672,
|
|
"y": 425.40633
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -45.67435,
|
|
"y": 294.23941
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 1600,
|
|
"axes": {
|
|
"#": 150
|
|
},
|
|
"bounds": {
|
|
"#": 153
|
|
},
|
|
"collisionFilter": {
|
|
"#": 156
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 157
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 158
|
|
},
|
|
"friction": 0.0005,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 7,
|
|
"inertia": 1706.66667,
|
|
"inverseInertia": 0.00059,
|
|
"inverseMass": 0.625,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 1.6,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 159
|
|
},
|
|
"positionImpulse": {
|
|
"#": 160
|
|
},
|
|
"positionPrev": {
|
|
"#": 161
|
|
},
|
|
"render": {
|
|
"#": 162
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 164
|
|
},
|
|
"vertices": {
|
|
"#": 165
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 151
|
|
},
|
|
{
|
|
"#": 152
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 154
|
|
},
|
|
"min": {
|
|
"#": 155
|
|
}
|
|
},
|
|
{
|
|
"x": 320,
|
|
"y": 270
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 230
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 250
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 250
|
|
},
|
|
{
|
|
"fillStyle": "#FF6B6B",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 163
|
|
},
|
|
"strokeStyle": "#cc3838",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 166
|
|
},
|
|
{
|
|
"#": 167
|
|
},
|
|
{
|
|
"#": 168
|
|
},
|
|
{
|
|
"#": 169
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 230
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 230
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 270
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 270
|
|
},
|
|
{
|
|
"angle": 0.1885,
|
|
"anglePrev": 0.1885,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 14000,
|
|
"axes": {
|
|
"#": 171
|
|
},
|
|
"bounds": {
|
|
"#": 174
|
|
},
|
|
"collisionFilter": {
|
|
"#": 177
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 178
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 179
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 8,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 180
|
|
},
|
|
"positionImpulse": {
|
|
"#": 181
|
|
},
|
|
"positionPrev": {
|
|
"#": 182
|
|
},
|
|
"render": {
|
|
"#": 183
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 185
|
|
},
|
|
"vertices": {
|
|
"#": 186
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 172
|
|
},
|
|
{
|
|
"#": 173
|
|
}
|
|
],
|
|
{
|
|
"x": -0.18738,
|
|
"y": 0.98229
|
|
},
|
|
{
|
|
"x": -0.98229,
|
|
"y": -0.18738
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 175
|
|
},
|
|
"min": {
|
|
"#": 176
|
|
}
|
|
},
|
|
{
|
|
"x": 645.67435,
|
|
"y": 595.40633
|
|
},
|
|
{
|
|
"x": -45.67435,
|
|
"y": 444.59367
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 520
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 520
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 184
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 187
|
|
},
|
|
{
|
|
"#": 188
|
|
},
|
|
{
|
|
"#": 189
|
|
},
|
|
{
|
|
"#": 190
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -41.92672,
|
|
"y": 444.59367
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 645.67435,
|
|
"y": 575.76059
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 641.92672,
|
|
"y": 595.40633
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -45.67435,
|
|
"y": 464.23941
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 1600,
|
|
"axes": {
|
|
"#": 192
|
|
},
|
|
"bounds": {
|
|
"#": 195
|
|
},
|
|
"collisionFilter": {
|
|
"#": 198
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 199
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 200
|
|
},
|
|
"friction": 0,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 9,
|
|
"inertia": 1706.66667,
|
|
"inverseInertia": 0.00059,
|
|
"inverseMass": 0.625,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 1.6,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 201
|
|
},
|
|
"positionImpulse": {
|
|
"#": 202
|
|
},
|
|
"positionPrev": {
|
|
"#": 203
|
|
},
|
|
"render": {
|
|
"#": 204
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 206
|
|
},
|
|
"vertices": {
|
|
"#": 207
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 193
|
|
},
|
|
{
|
|
"#": 194
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 196
|
|
},
|
|
"min": {
|
|
"#": 197
|
|
}
|
|
},
|
|
{
|
|
"x": 320,
|
|
"y": 450
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 410
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 430
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 300,
|
|
"y": 430
|
|
},
|
|
{
|
|
"fillStyle": "#C7F464",
|
|
"lineWidth": 1.5,
|
|
"sprite": {
|
|
"#": 205
|
|
},
|
|
"strokeStyle": "#94c131",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xScale": 1,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 208
|
|
},
|
|
{
|
|
"#": 209
|
|
},
|
|
{
|
|
"#": 210
|
|
},
|
|
{
|
|
"#": 211
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 410
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 410
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 320,
|
|
"y": 450
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 450
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 213
|
|
},
|
|
"min": {
|
|
"#": 214
|
|
}
|
|
},
|
|
{
|
|
"x": 1100,
|
|
"y": 900
|
|
},
|
|
{
|
|
"x": -300,
|
|
"y": -300
|
|
},
|
|
[],
|
|
[
|
|
{
|
|
"#": 217
|
|
}
|
|
],
|
|
{
|
|
"angularStiffness": 1,
|
|
"bodyB": "",
|
|
"id": 1,
|
|
"label": "Mouse Constraint",
|
|
"length": 0.01,
|
|
"pointA": {
|
|
"#": 218
|
|
},
|
|
"pointB": "",
|
|
"render": {
|
|
"#": 219
|
|
},
|
|
"stiffness": 0.1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"lineWidth": 3,
|
|
"strokeStyle": "#90EE90",
|
|
"visible": true
|
|
},
|
|
{
|
|
"afterAdd": {
|
|
"#": 221
|
|
}
|
|
},
|
|
[],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |