0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-10 11:55:37 -05:00
liabru-matter-js/test/node/refs/catapult/catapult-0.json
2015-12-29 22:51:19 +00:00

3232 lines
No EOL
40 KiB
JSON

[
{
"id": 19,
"type": "composite",
"parent": null,
"isModified": true,
"bodies": {
"#": 1
},
"constraints": {
"#": 189
},
"composites": {
"#": 198
},
"label": "World",
"gravity": {
"#": 335
},
"bounds": {
"#": 336
}
},
[
{
"#": 2
},
{
"#": 24
},
{
"#": 46
},
{
"#": 68
},
{
"#": 90
},
{
"#": 112
},
{
"#": 134
}
],
{
"id": 0,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 3
},
"angle": 0,
"vertices": {
"#": 4
},
"position": {
"#": 9
},
"force": {
"#": 10
},
"torque": 0,
"positionImpulse": {
"#": 11
},
"constraintImpulse": {
"#": 12
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 13
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 14
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 15
},
"bounds": {
"#": 17
},
"positionPrev": {
"#": 20
},
"anglePrev": 0,
"axes": {
"#": 21
},
"area": 40930.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 2
},
"sleepCounter": 0
},
[
{
"#": 2
}
],
[
{
"#": 5
},
{
"#": 6
},
{
"#": 7
},
{
"#": 8
}
],
{
"x": -5.25,
"y": -30.25,
"index": 0,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 805.25,
"y": -30.25,
"index": 1,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 805.25,
"y": 20.25,
"index": 2,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": -5.25,
"y": 20.25,
"index": 3,
"body": {
"#": 2
},
"isInternal": false
},
{
"x": 400,
"y": -5
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 16
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 18
},
"max": {
"#": 19
}
},
{
"x": -5.25,
"y": -30.25
},
{
"x": 805.25,
"y": 20.25
},
{
"x": 400,
"y": -5
},
[
{
"#": 22
},
{
"#": 23
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 1,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 25
},
"angle": 0,
"vertices": {
"#": 26
},
"position": {
"#": 31
},
"force": {
"#": 32
},
"torque": 0,
"positionImpulse": {
"#": 33
},
"constraintImpulse": {
"#": 34
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 35
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 36
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 37
},
"bounds": {
"#": 39
},
"positionPrev": {
"#": 42
},
"anglePrev": 0,
"axes": {
"#": 43
},
"area": 40930.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 24
},
"sleepCounter": 0
},
[
{
"#": 24
}
],
[
{
"#": 27
},
{
"#": 28
},
{
"#": 29
},
{
"#": 30
}
],
{
"x": -5.25,
"y": 579.75,
"index": 0,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 805.25,
"y": 579.75,
"index": 1,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 805.25,
"y": 630.25,
"index": 2,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": -5.25,
"y": 630.25,
"index": 3,
"body": {
"#": 24
},
"isInternal": false
},
{
"x": 400,
"y": 605
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 38
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 40
},
"max": {
"#": 41
}
},
{
"x": -5.25,
"y": 579.75
},
{
"x": 805.25,
"y": 630.25
},
{
"x": 400,
"y": 605
},
[
{
"#": 44
},
{
"#": 45
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 2,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 47
},
"angle": 0,
"vertices": {
"#": 48
},
"position": {
"#": 53
},
"force": {
"#": 54
},
"torque": 0,
"positionImpulse": {
"#": 55
},
"constraintImpulse": {
"#": 56
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 57
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 58
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 59
},
"bounds": {
"#": 61
},
"positionPrev": {
"#": 64
},
"anglePrev": 0,
"axes": {
"#": 65
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 46
},
"sleepCounter": 0
},
[
{
"#": 46
}
],
[
{
"#": 49
},
{
"#": 50
},
{
"#": 51
},
{
"#": 52
}
],
{
"x": 779.75,
"y": -5.25,
"index": 0,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 830.25,
"y": -5.25,
"index": 1,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 830.25,
"y": 605.25,
"index": 2,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 779.75,
"y": 605.25,
"index": 3,
"body": {
"#": 46
},
"isInternal": false
},
{
"x": 805,
"y": 300
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 60
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 62
},
"max": {
"#": 63
}
},
{
"x": 779.75,
"y": -5.25
},
{
"x": 830.25,
"y": 605.25
},
{
"x": 805,
"y": 300
},
[
{
"#": 66
},
{
"#": 67
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 3,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 69
},
"angle": 0,
"vertices": {
"#": 70
},
"position": {
"#": 75
},
"force": {
"#": 76
},
"torque": 0,
"positionImpulse": {
"#": 77
},
"constraintImpulse": {
"#": 78
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 79
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 80
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 81
},
"bounds": {
"#": 83
},
"positionPrev": {
"#": 86
},
"anglePrev": 0,
"axes": {
"#": 87
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 68
},
"sleepCounter": 0
},
[
{
"#": 68
}
],
[
{
"#": 71
},
{
"#": 72
},
{
"#": 73
},
{
"#": 74
}
],
{
"x": -30.25,
"y": -5.25,
"index": 0,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": 20.25,
"y": -5.25,
"index": 1,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": 20.25,
"y": 605.25,
"index": 2,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": -30.25,
"y": 605.25,
"index": 3,
"body": {
"#": 68
},
"isInternal": false
},
{
"x": -5,
"y": 300
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 82
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 84
},
"max": {
"#": 85
}
},
{
"x": -30.25,
"y": -5.25
},
{
"x": 20.25,
"y": 605.25
},
{
"x": -5,
"y": 300
},
[
{
"#": 88
},
{
"#": 89
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 11,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 91
},
"angle": 0,
"vertices": {
"#": 92
},
"position": {
"#": 97
},
"force": {
"#": 98
},
"torque": 0,
"positionImpulse": {
"#": 99
},
"constraintImpulse": {
"#": 100
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 101
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 102
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 103
},
"bounds": {
"#": 105
},
"positionPrev": {
"#": 108
},
"anglePrev": 0,
"axes": {
"#": 109
},
"area": 6400,
"mass": 6.4,
"inverseMass": 0.15625,
"inertia": 219306.66667,
"inverseInertia": 0,
"parent": {
"#": 90
},
"sleepCounter": 0
},
[
{
"#": 90
}
],
[
{
"#": 93
},
{
"#": 94
},
{
"#": 95
},
{
"#": 96
}
],
{
"x": 240,
"y": 510,
"index": 0,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 560,
"y": 510,
"index": 1,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 560,
"y": 530,
"index": 2,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 240,
"y": 530,
"index": 3,
"body": {
"#": 90
},
"isInternal": false
},
{
"x": 400,
"y": 520
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 104
},
"lineWidth": 1.5,
"fillStyle": "#4ECDC4",
"strokeStyle": "#1b9a91"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 106
},
"max": {
"#": 107
}
},
{
"x": 240,
"y": 510
},
{
"x": 560,
"y": 530
},
{
"x": 400,
"y": 520
},
[
{
"#": 110
},
{
"#": 111
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 12,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 113
},
"angle": 0,
"vertices": {
"#": 114
},
"position": {
"#": 119
},
"force": {
"#": 120
},
"torque": 0,
"positionImpulse": {
"#": 121
},
"constraintImpulse": {
"#": 122
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 123
},
"angularVelocity": 0,
"isStatic": true,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"restitution": 0,
"friction": 1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 124
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 125
},
"bounds": {
"#": 127
},
"positionPrev": {
"#": 130
},
"anglePrev": 0,
"axes": {
"#": 131
},
"area": 1000,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 112
},
"sleepCounter": 0
},
[
{
"#": 112
}
],
[
{
"#": 115
},
{
"#": 116
},
{
"#": 117
},
{
"#": 118
}
],
{
"x": 240,
"y": 530,
"index": 0,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 260,
"y": 530,
"index": 1,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 260,
"y": 580,
"index": 2,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 240,
"y": 580,
"index": 3,
"body": {
"#": 112
},
"isInternal": false
},
{
"x": 250,
"y": 555
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 126
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 128
},
"max": {
"#": 129
}
},
{
"x": 240,
"y": 530
},
{
"x": 260,
"y": 580
},
{
"x": 250,
"y": 555
},
[
{
"#": 132
},
{
"#": 133
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 13,
"type": "body",
"label": "Circle Body",
"parts": {
"#": 135
},
"angle": 0,
"vertices": {
"#": 136
},
"position": {
"#": 163
},
"force": {
"#": 164
},
"torque": 0,
"positionImpulse": {
"#": 165
},
"constraintImpulse": {
"#": 166
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 167
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.005,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 168
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 169
},
"circleRadius": 50,
"bounds": {
"#": 171
},
"positionPrev": {
"#": 174
},
"anglePrev": 0,
"axes": {
"#": 175
},
"area": 7777.74467,
"mass": 38.88872,
"inverseMass": 0.02571,
"inertia": 192559.86687,
"inverseInertia": 0.00001,
"parent": {
"#": 134
},
"sleepCounter": 0
},
[
{
"#": 134
}
],
[
{
"#": 137
},
{
"#": 138
},
{
"#": 139
},
{
"#": 140
},
{
"#": 141
},
{
"#": 142
},
{
"#": 143
},
{
"#": 144
},
{
"#": 145
},
{
"#": 146
},
{
"#": 147
},
{
"#": 148
},
{
"#": 149
},
{
"#": 150
},
{
"#": 151
},
{
"#": 152
},
{
"#": 153
},
{
"#": 154
},
{
"#": 155
},
{
"#": 156
},
{
"#": 157
},
{
"#": 158
},
{
"#": 159
},
{
"#": 160
},
{
"#": 161
},
{
"#": 162
}
],
{
"x": 609.635,
"y": 106.027,
"index": 0,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 606.751,
"y": 117.73,
"index": 1,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 601.149,
"y": 128.403,
"index": 2,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 593.156,
"y": 137.426,
"index": 3,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 583.236,
"y": 144.273,
"index": 4,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 571.966,
"y": 148.547,
"index": 5,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 560,
"y": 150,
"index": 6,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 548.034,
"y": 148.547,
"index": 7,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 536.764,
"y": 144.273,
"index": 8,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 526.844,
"y": 137.426,
"index": 9,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 518.851,
"y": 128.403,
"index": 10,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 513.249,
"y": 117.73,
"index": 11,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 510.365,
"y": 106.027,
"index": 12,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 510.365,
"y": 93.973,
"index": 13,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 513.249,
"y": 82.27,
"index": 14,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 518.851,
"y": 71.597,
"index": 15,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 526.844,
"y": 62.574,
"index": 16,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 536.764,
"y": 55.727,
"index": 17,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 548.034,
"y": 51.453,
"index": 18,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 560,
"y": 50,
"index": 19,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 571.966,
"y": 51.453,
"index": 20,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 583.236,
"y": 55.727,
"index": 21,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 593.156,
"y": 62.574,
"index": 22,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 601.149,
"y": 71.597,
"index": 23,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 606.751,
"y": 82.27,
"index": 24,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 609.635,
"y": 93.973,
"index": 25,
"body": {
"#": 134
},
"isInternal": false
},
{
"x": 560,
"y": 100
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 170
},
"lineWidth": 1.5,
"fillStyle": "#C44D58",
"strokeStyle": "#911a25"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 172
},
"max": {
"#": 173
}
},
{
"x": 510.365,
"y": 50
},
{
"x": 609.635,
"y": 150
},
{
"x": 560,
"y": 100
},
[
{
"#": 176
},
{
"#": 177
},
{
"#": 178
},
{
"#": 179
},
{
"#": 180
},
{
"#": 181
},
{
"#": 182
},
{
"#": 183
},
{
"#": 184
},
{
"#": 185
},
{
"#": 186
},
{
"#": 187
},
{
"#": 188
}
],
{
"x": -0.97095,
"y": -0.23927
},
{
"x": -0.88544,
"y": -0.46475
},
{
"x": -0.74854,
"y": -0.66309
},
{
"x": -0.56805,
"y": -0.82299
},
{
"x": -0.35459,
"y": -0.93502
},
{
"x": -0.12054,
"y": -0.99271
},
{
"x": 0.12054,
"y": -0.99271
},
{
"x": 0.35459,
"y": -0.93502
},
{
"x": 0.56805,
"y": -0.82299
},
{
"x": 0.74854,
"y": -0.66309
},
{
"x": 0.88544,
"y": -0.46475
},
{
"x": 0.97095,
"y": -0.23927
},
{
"x": 1,
"y": 0
},
[
{
"#": 190
},
{
"#": 194
}
],
{
"bodyA": {
"#": 90
},
"pointB": {
"#": 191
},
"pointA": {
"#": 192
},
"length": 60.82763,
"render": {
"#": 193
},
"id": 14,
"label": "Constraint",
"type": "constraint",
"stiffness": 1,
"angularStiffness": 0,
"angleA": 0,
"angleB": {
"#": -1
}
},
{
"x": 390,
"y": 580
},
{
"x": 0,
"y": 0
},
{
"visible": true,
"lineWidth": 2,
"strokeStyle": "#666"
},
{
"bodyA": {
"#": 90
},
"pointB": {
"#": 195
},
"pointA": {
"#": 196
},
"length": 60.82763,
"render": {
"#": 197
},
"id": 15,
"label": "Constraint",
"type": "constraint",
"stiffness": 1,
"angularStiffness": 0,
"angleA": 0,
"angleB": {
"#": -1
}
},
{
"x": 410,
"y": 580
},
{
"x": 0,
"y": 0
},
{
"visible": true,
"lineWidth": 2,
"strokeStyle": "#666"
},
[
{
"#": 199
}
],
{
"id": 4,
"type": "composite",
"parent": {
"#": 0
},
"isModified": true,
"bodies": {
"#": 200
},
"constraints": {
"#": 333
},
"composites": {
"#": 334
},
"label": "Stack"
},
[
{
"#": 201
},
{
"#": 223
},
{
"#": 245
},
{
"#": 267
},
{
"#": 289
},
{
"#": 311
}
],
{
"id": 5,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 202
},
"angle": 0,
"vertices": {
"#": 203
},
"position": {
"#": 208
},
"force": {
"#": 209
},
"torque": 0,
"positionImpulse": {
"#": 210
},
"constraintImpulse": {
"#": 211
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 212
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 213
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 214
},
"bounds": {
"#": 216
},
"positionPrev": {
"#": 219
},
"anglePrev": 0,
"axes": {
"#": 220
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 201
},
"sleepCounter": 0
},
[
{
"#": 201
}
],
[
{
"#": 204
},
{
"#": 205
},
{
"#": 206
},
{
"#": 207
}
],
{
"x": 250,
"y": 255,
"index": 0,
"body": {
"#": 201
},
"isInternal": false
},
{
"x": 280,
"y": 255,
"index": 1,
"body": {
"#": 201
},
"isInternal": false
},
{
"x": 280,
"y": 285,
"index": 2,
"body": {
"#": 201
},
"isInternal": false
},
{
"x": 250,
"y": 285,
"index": 3,
"body": {
"#": 201
},
"isInternal": false
},
{
"x": 265,
"y": 270
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 215
},
"lineWidth": 1.5,
"fillStyle": "#4ECDC4",
"strokeStyle": "#1b9a91"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 217
},
"max": {
"#": 218
}
},
{
"x": 250,
"y": 255
},
{
"x": 280,
"y": 285
},
{
"x": 265,
"y": 270
},
[
{
"#": 221
},
{
"#": 222
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 6,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 224
},
"angle": 0,
"vertices": {
"#": 225
},
"position": {
"#": 230
},
"force": {
"#": 231
},
"torque": 0,
"positionImpulse": {
"#": 232
},
"constraintImpulse": {
"#": 233
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 234
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 235
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 236
},
"bounds": {
"#": 238
},
"positionPrev": {
"#": 241
},
"anglePrev": 0,
"axes": {
"#": 242
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 223
},
"sleepCounter": 0
},
[
{
"#": 223
}
],
[
{
"#": 226
},
{
"#": 227
},
{
"#": 228
},
{
"#": 229
}
],
{
"x": 250,
"y": 285,
"index": 0,
"body": {
"#": 223
},
"isInternal": false
},
{
"x": 280,
"y": 285,
"index": 1,
"body": {
"#": 223
},
"isInternal": false
},
{
"x": 280,
"y": 315,
"index": 2,
"body": {
"#": 223
},
"isInternal": false
},
{
"x": 250,
"y": 315,
"index": 3,
"body": {
"#": 223
},
"isInternal": false
},
{
"x": 265,
"y": 300
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 237
},
"lineWidth": 1.5,
"fillStyle": "#FF6B6B",
"strokeStyle": "#cc3838"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 239
},
"max": {
"#": 240
}
},
{
"x": 250,
"y": 285
},
{
"x": 280,
"y": 315
},
{
"x": 265,
"y": 300
},
[
{
"#": 243
},
{
"#": 244
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 7,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 246
},
"angle": 0,
"vertices": {
"#": 247
},
"position": {
"#": 252
},
"force": {
"#": 253
},
"torque": 0,
"positionImpulse": {
"#": 254
},
"constraintImpulse": {
"#": 255
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 256
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 257
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 258
},
"bounds": {
"#": 260
},
"positionPrev": {
"#": 263
},
"anglePrev": 0,
"axes": {
"#": 264
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 245
},
"sleepCounter": 0
},
[
{
"#": 245
}
],
[
{
"#": 248
},
{
"#": 249
},
{
"#": 250
},
{
"#": 251
}
],
{
"x": 250,
"y": 315,
"index": 0,
"body": {
"#": 245
},
"isInternal": false
},
{
"x": 280,
"y": 315,
"index": 1,
"body": {
"#": 245
},
"isInternal": false
},
{
"x": 280,
"y": 345,
"index": 2,
"body": {
"#": 245
},
"isInternal": false
},
{
"x": 250,
"y": 345,
"index": 3,
"body": {
"#": 245
},
"isInternal": false
},
{
"x": 265,
"y": 330
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 259
},
"lineWidth": 1.5,
"fillStyle": "#C7F464",
"strokeStyle": "#94c131"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 261
},
"max": {
"#": 262
}
},
{
"x": 250,
"y": 315
},
{
"x": 280,
"y": 345
},
{
"x": 265,
"y": 330
},
[
{
"#": 265
},
{
"#": 266
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 8,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 268
},
"angle": 0,
"vertices": {
"#": 269
},
"position": {
"#": 274
},
"force": {
"#": 275
},
"torque": 0,
"positionImpulse": {
"#": 276
},
"constraintImpulse": {
"#": 277
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 278
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 279
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 280
},
"bounds": {
"#": 282
},
"positionPrev": {
"#": 285
},
"anglePrev": 0,
"axes": {
"#": 286
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 267
},
"sleepCounter": 0
},
[
{
"#": 267
}
],
[
{
"#": 270
},
{
"#": 271
},
{
"#": 272
},
{
"#": 273
}
],
{
"x": 250,
"y": 345,
"index": 0,
"body": {
"#": 267
},
"isInternal": false
},
{
"x": 280,
"y": 345,
"index": 1,
"body": {
"#": 267
},
"isInternal": false
},
{
"x": 280,
"y": 375,
"index": 2,
"body": {
"#": 267
},
"isInternal": false
},
{
"x": 250,
"y": 375,
"index": 3,
"body": {
"#": 267
},
"isInternal": false
},
{
"x": 265,
"y": 360
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 281
},
"lineWidth": 1.5,
"fillStyle": "#FF6B6B",
"strokeStyle": "#cc3838"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 283
},
"max": {
"#": 284
}
},
{
"x": 250,
"y": 345
},
{
"x": 280,
"y": 375
},
{
"x": 265,
"y": 360
},
[
{
"#": 287
},
{
"#": 288
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 9,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 290
},
"angle": 0,
"vertices": {
"#": 291
},
"position": {
"#": 296
},
"force": {
"#": 297
},
"torque": 0,
"positionImpulse": {
"#": 298
},
"constraintImpulse": {
"#": 299
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 300
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 301
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 302
},
"bounds": {
"#": 304
},
"positionPrev": {
"#": 307
},
"anglePrev": 0,
"axes": {
"#": 308
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 289
},
"sleepCounter": 0
},
[
{
"#": 289
}
],
[
{
"#": 292
},
{
"#": 293
},
{
"#": 294
},
{
"#": 295
}
],
{
"x": 250,
"y": 375,
"index": 0,
"body": {
"#": 289
},
"isInternal": false
},
{
"x": 280,
"y": 375,
"index": 1,
"body": {
"#": 289
},
"isInternal": false
},
{
"x": 280,
"y": 405,
"index": 2,
"body": {
"#": 289
},
"isInternal": false
},
{
"x": 250,
"y": 405,
"index": 3,
"body": {
"#": 289
},
"isInternal": false
},
{
"x": 265,
"y": 390
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 303
},
"lineWidth": 1.5,
"fillStyle": "#C44D58",
"strokeStyle": "#911a25"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 305
},
"max": {
"#": 306
}
},
{
"x": 250,
"y": 375
},
{
"x": 280,
"y": 405
},
{
"x": 265,
"y": 390
},
[
{
"#": 309
},
{
"#": 310
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": 10,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 312
},
"angle": 0,
"vertices": {
"#": 313
},
"position": {
"#": 318
},
"force": {
"#": 319
},
"torque": 0,
"positionImpulse": {
"#": 320
},
"constraintImpulse": {
"#": 321
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 322
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.01,
"collisionFilter": {
"#": 323
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 324
},
"bounds": {
"#": 326
},
"positionPrev": {
"#": 329
},
"anglePrev": 0,
"axes": {
"#": 330
},
"area": 900,
"mass": 0.9,
"inverseMass": 1.11111,
"inertia": 540,
"inverseInertia": 0.00185,
"parent": {
"#": 311
},
"sleepCounter": 0
},
[
{
"#": 311
}
],
[
{
"#": 314
},
{
"#": 315
},
{
"#": 316
},
{
"#": 317
}
],
{
"x": 250,
"y": 405,
"index": 0,
"body": {
"#": 311
},
"isInternal": false
},
{
"x": 280,
"y": 405,
"index": 1,
"body": {
"#": 311
},
"isInternal": false
},
{
"x": 280,
"y": 435,
"index": 2,
"body": {
"#": 311
},
"isInternal": false
},
{
"x": 250,
"y": 435,
"index": 3,
"body": {
"#": 311
},
"isInternal": false
},
{
"x": 265,
"y": 420
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 0
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"sprite": {
"#": 325
},
"lineWidth": 1.5,
"fillStyle": "#556270",
"strokeStyle": "#222f3d"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 327
},
"max": {
"#": 328
}
},
{
"x": 250,
"y": 405
},
{
"x": 280,
"y": 435
},
{
"x": 265,
"y": 420
},
[
{
"#": 331
},
{
"#": 332
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
[],
[],
{
"x": 0,
"y": 1,
"scale": 0.001
},
{
"min": {
"#": 337
},
"max": {
"#": 338
}
},
{
"x": {
"#.": "Number",
"#v": [
"-Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"-Infinity"
]
}
},
{
"x": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"Infinity"
]
}
}
]