0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-30 10:20:52 -05:00
liabru-matter-js/test/browser/refs/compound/compound-10.json
2015-08-04 20:25:20 +01:00

1728 lines
No EOL
23 KiB
JSON

[
{
"bodies": {
"#": 1
},
"bounds": {
"#": 176
},
"composites": {
"#": 179
},
"constraints": {
"#": 180
},
"gravity": {
"#": 188
},
"id": 0,
"isModified": false,
"label": "World",
"parent": "",
"type": "composite"
},
[
{
"#": 2
},
{
"#": 24
},
{
"#": 46
},
{
"#": 68
},
{
"#": 90
},
{
"#": 118
}
],
{
"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
},
"region": {
"#": 15
},
"render": {
"#": 16
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 18
},
"vertices": {
"#": 19
}
},
[
{
"#": 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
},
{
"endCol": 16,
"endRow": 0,
"id": "-1,16,-1,0",
"startCol": -1,
"startRow": -1
},
{
"fillStyle": "#eeeeee",
"lineWidth": 1.5,
"sprite": {
"#": 17
},
"strokeStyle": "#bbbbbb",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 20
},
{
"#": 21
},
{
"#": 22
},
{
"#": 23
}
],
{
"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": {
"#": 25
},
"bounds": {
"#": 28
},
"collisionFilter": {
"#": 31
},
"constraintImpulse": {
"#": 32
},
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"force": {
"#": 33
},
"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": {
"#": 34
},
"positionImpulse": {
"#": 35
},
"positionPrev": {
"#": 36
},
"region": {
"#": 37
},
"render": {
"#": 38
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 40
},
"vertices": {
"#": 41
}
},
[
{
"#": 26
},
{
"#": 27
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 29
},
"min": {
"#": 30
}
},
{
"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
},
{
"endCol": 16,
"endRow": 13,
"id": "-1,16,12,13",
"startCol": -1,
"startRow": 12
},
{
"fillStyle": "#eeeeee",
"lineWidth": 1.5,
"sprite": {
"#": 39
},
"strokeStyle": "#bbbbbb",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 42
},
{
"#": 43
},
{
"#": 44
},
{
"#": 45
}
],
{
"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": {
"#": 47
},
"bounds": {
"#": 50
},
"collisionFilter": {
"#": 53
},
"constraintImpulse": {
"#": 54
},
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"force": {
"#": 55
},
"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": {
"#": 56
},
"positionImpulse": {
"#": 57
},
"positionPrev": {
"#": 58
},
"region": {
"#": 59
},
"render": {
"#": 60
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 62
},
"vertices": {
"#": 63
}
},
[
{
"#": 48
},
{
"#": 49
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 51
},
"min": {
"#": 52
}
},
{
"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
},
{
"endCol": 17,
"endRow": 12,
"id": "16,17,-1,12",
"startCol": 16,
"startRow": -1
},
{
"fillStyle": "#eeeeee",
"lineWidth": 1.5,
"sprite": {
"#": 61
},
"strokeStyle": "#bbbbbb",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 64
},
{
"#": 65
},
{
"#": 66
},
{
"#": 67
}
],
{
"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": {
"#": 69
},
"bounds": {
"#": 72
},
"collisionFilter": {
"#": 75
},
"constraintImpulse": {
"#": 76
},
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"force": {
"#": 77
},
"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": {
"#": 78
},
"positionImpulse": {
"#": 79
},
"positionPrev": {
"#": 80
},
"region": {
"#": 81
},
"render": {
"#": 82
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 84
},
"vertices": {
"#": 85
}
},
[
{
"#": 70
},
{
"#": 71
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 73
},
"min": {
"#": 74
}
},
{
"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
},
{
"endCol": 0,
"endRow": 12,
"id": "-1,0,-1,12",
"startCol": -1,
"startRow": -1
},
{
"fillStyle": "#eeeeee",
"lineWidth": 1.5,
"sprite": {
"#": 83
},
"strokeStyle": "#bbbbbb",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 86
},
{
"#": 87
},
{
"#": 88
},
{
"#": 89
}
],
{
"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": 16000,
"axes": {
"#": 91
},
"bounds": {
"#": 96
},
"collisionFilter": {
"#": 99
},
"constraintImpulse": {
"#": 100
},
"density": 0.001,
"force": {
"#": 101
},
"friction": 0.1,
"frictionAir": 0.01,
"frictionStatic": 0.5,
"id": 6,
"inertia": 221866.66666666666,
"inverseInertia": 0.000004507211538461539,
"inverseMass": 0.0625,
"isSleeping": false,
"isStatic": false,
"label": "Body",
"mass": 16,
"motion": 0,
"parent": null,
"position": {
"#": 102
},
"positionImpulse": {
"#": 103
},
"positionPrev": {
"#": 104
},
"region": {
"#": 105
},
"render": {
"#": 106
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 2.9072707150356862,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 108
},
"vertices": {
"#": 109
}
},
[
{
"#": 92
},
{
"#": 93
},
{
"#": 94
},
{
"#": 95
}
],
{
"x": -0.7071067811865475,
"y": -0.7071067811865475
},
{
"x": 0,
"y": -1
},
{
"x": 0.7071067811865475,
"y": -0.7071067811865475
},
{
"x": 1,
"y": 0
},
{
"max": {
"#": 97
},
"min": {
"#": 98
}
},
{
"x": 300,
"y": 317.73575476702587
},
{
"x": 100,
"y": 117.73575476702595
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 200,
"y": 217.73575476702598
},
{
"x": 0,
"y": 0
},
{
"x": 200,
"y": 214.8284840519903
},
{
"endCol": 6,
"endRow": 6,
"id": "2,6,2,6",
"startCol": 2,
"startRow": 2
},
{
"fillStyle": "#C7F464",
"lineWidth": 1.5,
"sprite": {
"#": 107
},
"strokeStyle": "#94c131",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 2.9072707150356862
},
[
{
"#": 110
},
{
"#": 111
},
{
"#": 112
},
{
"#": 113
},
{
"#": 114
},
{
"#": 115
},
{
"#": 116
},
{
"#": 117
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 300,
"y": 237.73575476702598
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 220,
"y": 317.73575476702587
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 180,
"y": 317.73575476702587
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 100,
"y": 237.73575476702598
},
{
"body": null,
"index": 4,
"isInternal": false,
"x": 100,
"y": 197.73575476702598
},
{
"body": null,
"index": 5,
"isInternal": false,
"x": 180,
"y": 117.73575476702595
},
{
"body": null,
"index": 6,
"isInternal": false,
"x": 220,
"y": 117.73575476702595
},
{
"body": null,
"index": 7,
"isInternal": false,
"x": 300,
"y": 197.73575476702598
},
{
"angle": -0.07143107665746028,
"anglePrev": -0.060871862278235885,
"angularSpeed": 0.00980497409413378,
"angularVelocity": -0.009804974094133785,
"area": 11199.936656,
"axes": {
"#": 119
},
"bounds": {
"#": 134
},
"collisionFilter": {
"#": 137
},
"constraintImpulse": {
"#": 138
},
"density": 0.001,
"force": {
"#": 139
},
"friction": 0.1,
"frictionAir": 0.01,
"frictionStatic": 0.5,
"id": 11,
"inertia": 19964.551161219715,
"inverseInertia": 0.0000500887794533772,
"inverseMass": 0.08928621926306009,
"isSleeping": false,
"isStatic": false,
"label": "Body",
"mass": 11.199936656,
"motion": 0,
"parent": null,
"position": {
"#": 140
},
"positionImpulse": {
"#": 141
},
"positionPrev": {
"#": 142
},
"region": {
"#": 143
},
"render": {
"#": 144
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0.9586143693926944,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 146
},
"vertices": {
"#": 147
}
},
[
{
"#": 120
},
{
"#": 121
},
{
"#": 122
},
{
"#": 123
},
{
"#": 124
},
{
"#": 125
},
{
"#": 126
},
{
"#": 127
},
{
"#": 128
},
{
"#": 129
},
{
"#": 130
},
{
"#": 131
},
{
"#": 132
},
{
"#": 133
}
],
{
"x": -0.9855405592758093,
"y": -0.16943968254905875
},
{
"x": -0.9164183209730334,
"y": -0.4002217647566994
},
{
"x": -0.793897759865241,
"y": -0.608051269944363
},
{
"x": -0.6254087912131313,
"y": -0.780297279165659
},
{
"x": -0.42033127185093555,
"y": -0.9073707191132934
},
{
"x": -0.19112125774692526,
"y": -0.9815664342454024
},
{
"x": -0.07137034718057023,
"y": -0.9974498852289905
},
{
"x": 0.049422039787300476,
"y": -0.9987779843304833
},
{
"x": 0.28686072793928924,
"y": -0.957972297494109
},
{
"x": 0.5079413253954148,
"y": -0.8613916704702625
},
{
"x": 0.6992376371351813,
"y": -0.714889310882187
},
{
"x": 0.8501001026641435,
"y": -0.5266211308430491
},
{
"x": 0.9513761502121961,
"y": -0.3080315256713529
},
{
"x": 0.9974498852289905,
"y": -0.07137034718057023
},
{
"max": {
"#": 135
},
"min": {
"#": 136
}
},
{
"x": 580.2464522298171,
"y": 487.75571135592
},
{
"x": 359.99715695356406,
"y": 267.58568338074673
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 470.12180459169065,
"y": 377.6706973683334
},
{
"x": 0,
"y": 0
},
{
"x": 470.927746583416,
"y": 377.30496299836034
},
{
"endCol": 12,
"endRow": 10,
"id": "7,12,5,10",
"startCol": 7,
"startRow": 5
},
{
"fillStyle": "#C44D58",
"lineWidth": 1.5,
"sprite": {
"#": 145
},
"strokeStyle": "#911a25",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": -0.7310209175915929,
"y": 0.6201208972851191
},
[
{
"#": 148
},
{
"#": 149
},
{
"#": 150
},
{
"#": 151
},
{
"#": 152
},
{
"#": 153
},
{
"#": 154
},
{
"#": 155
},
{
"#": 156
},
{
"#": 157
},
{
"#": 158
},
{
"#": 159
},
{
"#": 160
},
{
"#": 161
},
{
"#": 162
},
{
"#": 163
},
{
"#": 164
},
{
"#": 165
},
{
"#": 166
},
{
"#": 167
},
{
"#": 168
},
{
"#": 169
},
{
"#": 170
},
{
"#": 171
},
{
"#": 172
},
{
"#": 173
},
{
"#": 174
},
{
"#": 175
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 580.2464522298171,
"y": 448.6079611975685
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 579.0210290563878,
"y": 455.735596362616
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 576.1266531453625,
"y": 462.363069794149
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 571.7292111850932,
"y": 468.10455820797165
},
{
"body": null,
"index": 4,
"isInternal": false,
"x": 566.0856502247751,
"y": 472.6278760927963
},
{
"body": null,
"index": 5,
"isInternal": false,
"x": 559.5228902211426,
"y": 475.6680152565056
},
{
"body": null,
"index": 6,
"isInternal": false,
"x": 552.4244324378251,
"y": 477.0501592788345
},
{
"body": null,
"index": 7,
"isInternal": false,
"x": 402.8069496534762,
"y": 487.75571135592
},
{
"body": null,
"index": 8,
"isInternal": false,
"x": 395.5840219846759,
"y": 487.39830277840974
},
{
"body": null,
"index": 9,
"isInternal": false,
"x": 388.6552748407013,
"y": 485.32351893066505
},
{
"body": null,
"index": 10,
"isInternal": false,
"x": 382.42519236725343,
"y": 481.64979365867765
},
{
"body": null,
"index": 11,
"isInternal": false,
"x": 377.2550950284067,
"y": 476.59288961501125
},
{
"body": null,
"index": 12,
"isInternal": false,
"x": 373.44660771069283,
"y": 470.4450249165313
},
{
"body": null,
"index": 13,
"isInternal": false,
"x": 371.2188593814595,
"y": 463.5644738934231
},
{
"body": null,
"index": 14,
"isInternal": false,
"x": 359.99715695356406,
"y": 306.73343353909826
},
{
"body": null,
"index": 15,
"isInternal": false,
"x": 361.22258012699365,
"y": 299.6057983740508
},
{
"body": null,
"index": 16,
"isInternal": false,
"x": 364.11695603801854,
"y": 292.97832494251776
},
{
"body": null,
"index": 17,
"isInternal": false,
"x": 368.5143979982884,
"y": 287.2368365286951
},
{
"body": null,
"index": 18,
"isInternal": false,
"x": 374.15795895860623,
"y": 282.71351864387043
},
{
"body": null,
"index": 19,
"isInternal": false,
"x": 380.72071896223895,
"y": 279.67337948016115
},
{
"body": null,
"index": 20,
"isInternal": false,
"x": 387.8191767455566,
"y": 278.29123545783216
},
{
"body": null,
"index": 21,
"isInternal": false,
"x": 537.4366595299048,
"y": 267.58568338074673
},
{
"body": null,
"index": 22,
"isInternal": false,
"x": 544.6595871987055,
"y": 267.943091958257
},
{
"body": null,
"index": 23,
"isInternal": false,
"x": 551.5883343426801,
"y": 270.0178758060017
},
{
"body": null,
"index": 24,
"isInternal": false,
"x": 557.8184168161284,
"y": 273.6916010779891
},
{
"body": null,
"index": 25,
"isInternal": false,
"x": 562.9885141549745,
"y": 278.7485051216555
},
{
"body": null,
"index": 26,
"isInternal": false,
"x": 566.7970014726883,
"y": 284.89636982013536
},
{
"body": null,
"index": 27,
"isInternal": false,
"x": 569.0247498019216,
"y": 291.7769208432437
},
{
"max": {
"#": 177
},
"min": {
"#": 178
}
},
{
"x": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"Infinity"
]
}
},
{
"x": {
"#.": "Number",
"#v": [
"-Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"-Infinity"
]
}
},
[],
[
{
"#": 181
},
{
"#": 184
}
],
{
"angularStiffness": 1,
"bodyB": "",
"id": 1,
"label": "Mouse Constraint",
"length": 0.01,
"pointA": {
"#": 182
},
"pointB": "",
"render": {
"#": 183
},
"stiffness": 0.1,
"type": "constraint"
},
{
"x": 0,
"y": 0
},
{
"lineWidth": 3,
"strokeStyle": "#90EE90",
"visible": true
},
{
"angleB": -0.07143107665746028,
"angularStiffness": 0,
"bodyB": null,
"id": 12,
"label": "Constraint",
"length": 237.17082451262846,
"pointA": {
"#": 185
},
"pointB": {
"#": 186
},
"render": {
"#": 187
},
"stiffness": 1,
"type": "constraint"
},
{
"x": 400,
"y": 100
},
{
"x": -3.568517359028511,
"y": -49.872494261449496
},
{
"lineWidth": 2,
"strokeStyle": "#666",
"visible": true
},
{
"x": 0,
"y": 1
}
]