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/staticFriction/staticFriction-0.json

2390 lines
30 KiB
JSON
Raw Normal View History

2015-08-03 19:53:31 -04:00
[
{
"bodies": {
"#": 1
},
"bounds": {
"#": 125
},
"composites": {
"#": 128
},
"constraints": {
"#": 259
},
"events": {
"#": 263
},
"gravity": {
"#": 265
},
"id": 0,
"isModified": true,
"label": "World",
"parent": "",
"type": "composite"
},
[
{
"#": 2
},
{
"#": 23
},
{
"#": 44
},
{
"#": 65
},
{
"#": 86
}
],
{
"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": 11907.05754,
2015-08-03 19:53:31 -04:00
"axes": {
"#": 87
},
"bounds": {
"#": 96
},
"collisionFilter": {
"#": 99
},
"constraintImpulse": {
"#": 100
},
"density": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"force": {
"#": 101
},
"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": {
"#": 102
},
"positionImpulse": {
"#": 103
},
"positionPrev": {
"#": 104
},
"render": {
"#": 105
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 107
},
"vertices": {
"#": 108
}
},
[
{
"#": 88
},
{
"#": 89
},
{
"#": 90
},
{
"#": 91
},
{
"#": 92
},
{
"#": 93
},
{
"#": 94
},
{
"#": 95
}
],
{
"x": 0.9735,
"y": 0.22867
2015-08-03 19:53:31 -04:00
},
{
"x": 0.76989,
"y": 0.63817
2015-08-03 19:53:31 -04:00
},
{
"x": 0.40525,
"y": 0.9142
2015-08-03 19:53:31 -04:00
},
{
"x": 0.00075,
"y": 1
2015-08-03 19:53:31 -04:00
},
{
"x": -0.22867,
"y": 0.9735
2015-08-03 19:53:31 -04:00
},
{
"x": -0.63817,
"y": 0.76989
2015-08-03 19:53:31 -04:00
},
{
"x": -0.9142,
"y": 0.40525
2015-08-03 19:53:31 -04:00
},
{
"x": -1,
"y": 0.00305
2015-08-03 19:53:31 -04:00
},
{
"max": {
"#": 97
},
"min": {
"#": 98
}
},
{
"x": 500,
2015-08-03 19:53:31 -04:00
"y": 530
},
{
"x": 300,
2015-08-03 19:53:31 -04:00
"y": 470
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 500
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 500
},
{
"fillStyle": "#eeeeee",
"lineWidth": 1.5,
"sprite": {
"#": 106
},
"strokeStyle": "#bbbbbb",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 109
},
{
"#": 110
},
{
"#": 111
},
{
"#": 112
},
{
"#": 113
},
{
"#": 114
},
{
"#": 115
},
{
"#": 116
},
{
"#": 117
},
{
"#": 118
},
{
"#": 119
},
{
"#": 120
},
{
"#": 121
},
{
"#": 122
},
{
"#": 123
},
{
"#": 124
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 300,
2015-08-03 19:53:31 -04:00
"y": 478
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 300.83662,
"y": 474.43827
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 303.17149,
"y": 471.62148
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 306.51626,
"y": 470.1388
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 4,
"isInternal": false,
"x": 492,
2015-08-03 19:53:31 -04:00
"y": 470
},
{
"body": null,
"index": 5,
"isInternal": false,
"x": 495.56173,
"y": 470.83662
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 6,
"isInternal": false,
"x": 498.37852,
"y": 473.17149
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 7,
"isInternal": false,
"x": 499.8612,
"y": 476.51626
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 8,
"isInternal": false,
"x": 500,
2015-08-03 19:53:31 -04:00
"y": 522
},
{
"body": null,
"index": 9,
"isInternal": false,
"x": 499.16338,
"y": 525.56173
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 10,
"isInternal": false,
"x": 496.82851,
"y": 528.37852
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 11,
"isInternal": false,
"x": 493.48374,
"y": 529.8612
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 12,
"isInternal": false,
"x": 308,
2015-08-03 19:53:31 -04:00
"y": 530
},
{
"body": null,
"index": 13,
"isInternal": false,
"x": 304.43827,
"y": 529.16338
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 14,
"isInternal": false,
"x": 301.62148,
"y": 526.82851
2015-08-03 19:53:31 -04:00
},
{
"body": null,
"index": 15,
"isInternal": false,
"x": 300.1388,
"y": 523.48374
2015-08-03 19:53:31 -04:00
},
{
"max": {
"#": 126
},
"min": {
"#": 127
}
},
{
"x": 1100,
"y": 900
},
{
"x": -300,
"y": -300
},
[
{
"#": 129
}
],
{
"bodies": {
"#": 130
},
"composites": {
"#": 257
},
"constraints": {
"#": 258
},
"id": 5,
"isModified": true,
"label": "Stack",
"parent": null,
"type": "composite"
},
[
{
"#": 131
},
{
"#": 152
},
{
"#": 173
},
{
"#": 194
},
{
"#": 215
},
{
"#": 236
}
],
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 132
},
"bounds": {
"#": 135
},
"collisionFilter": {
"#": 138
},
"constraintImpulse": {
"#": 139
},
"density": 0.001,
"force": {
"#": 140
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 6,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 141
},
"positionImpulse": {
"#": 142
},
"positionPrev": {
"#": 143
},
"render": {
"#": 144
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 146
},
"vertices": {
"#": 147
}
},
[
{
"#": 133
},
{
"#": 134
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 136
},
"min": {
"#": 137
}
},
{
"x": 450,
"y": 220
},
{
"x": 350,
"y": 170
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 195
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 195
},
{
"fillStyle": "#4ECDC4",
"lineWidth": 1.5,
"sprite": {
"#": 145
},
"strokeStyle": "#1b9a91",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 148
},
{
"#": 149
},
{
"#": 150
},
{
"#": 151
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 170
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 170
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 220
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 220
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 153
},
"bounds": {
"#": 156
},
"collisionFilter": {
"#": 159
},
"constraintImpulse": {
"#": 160
},
"density": 0.001,
"force": {
"#": 161
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 7,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 162
},
"positionImpulse": {
"#": 163
},
"positionPrev": {
"#": 164
},
"render": {
"#": 165
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 167
},
"vertices": {
"#": 168
}
},
[
{
"#": 154
},
{
"#": 155
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 157
},
"min": {
"#": 158
}
},
{
"x": 450,
"y": 270
},
{
"x": 350,
"y": 220
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 245
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 245
},
{
"fillStyle": "#FF6B6B",
"lineWidth": 1.5,
"sprite": {
"#": 166
},
"strokeStyle": "#cc3838",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 169
},
{
"#": 170
},
{
"#": 171
},
{
"#": 172
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 220
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 220
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 270
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 270
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 174
},
"bounds": {
"#": 177
},
"collisionFilter": {
"#": 180
},
"constraintImpulse": {
"#": 181
},
"density": 0.001,
"force": {
"#": 182
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 8,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 183
},
"positionImpulse": {
"#": 184
},
"positionPrev": {
"#": 185
},
"render": {
"#": 186
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 188
},
"vertices": {
"#": 189
}
},
[
{
"#": 175
},
{
"#": 176
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 178
},
"min": {
"#": 179
}
},
{
"x": 450,
"y": 320
},
{
"x": 350,
"y": 270
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 295
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 295
},
{
"fillStyle": "#C7F464",
"lineWidth": 1.5,
"sprite": {
"#": 187
},
"strokeStyle": "#94c131",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 190
},
{
"#": 191
},
{
"#": 192
},
{
"#": 193
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 270
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 270
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 320
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 320
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 195
},
"bounds": {
"#": 198
},
"collisionFilter": {
"#": 201
},
"constraintImpulse": {
"#": 202
},
"density": 0.001,
"force": {
"#": 203
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 9,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 204
},
"positionImpulse": {
"#": 205
},
"positionPrev": {
"#": 206
},
"render": {
"#": 207
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 209
},
"vertices": {
"#": 210
}
},
[
{
"#": 196
},
{
"#": 197
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 199
},
"min": {
"#": 200
}
},
{
"x": 450,
"y": 370
},
{
"x": 350,
"y": 320
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 345
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 345
},
{
"fillStyle": "#FF6B6B",
"lineWidth": 1.5,
"sprite": {
"#": 208
},
"strokeStyle": "#cc3838",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 211
},
{
"#": 212
},
{
"#": 213
},
{
"#": 214
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 320
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 320
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 370
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 370
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 216
},
"bounds": {
"#": 219
},
"collisionFilter": {
"#": 222
},
"constraintImpulse": {
"#": 223
},
"density": 0.001,
"force": {
"#": 224
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 10,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 225
},
"positionImpulse": {
"#": 226
},
"positionPrev": {
"#": 227
},
"render": {
"#": 228
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 230
},
"vertices": {
"#": 231
}
},
[
{
"#": 217
},
{
"#": 218
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 220
},
"min": {
"#": 221
}
},
{
"x": 450,
"y": 420
},
{
"x": 350,
"y": 370
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 395
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 395
},
{
"fillStyle": "#C44D58",
"lineWidth": 1.5,
"sprite": {
"#": 229
},
"strokeStyle": "#911a25",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 232
},
{
"#": 233
},
{
"#": 234
},
{
"#": 235
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 370
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 370
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 420
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 420
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 5000,
"axes": {
"#": 237
},
"bounds": {
"#": 240
},
"collisionFilter": {
"#": 243
},
"constraintImpulse": {
"#": 244
},
"density": 0.001,
"force": {
"#": 245
},
"friction": 1,
"frictionAir": 0.01,
"frictionStatic": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"id": 11,
"inertia": 20833.33333,
"inverseInertia": 0.00005,
2015-08-03 19:53:31 -04:00
"inverseMass": 0.2,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 5,
"motion": 0,
"parent": null,
"position": {
"#": 246
},
"positionImpulse": {
"#": 247
},
"positionPrev": {
"#": 248
},
"render": {
"#": 249
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.5,
"speed": 0,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 251
},
"vertices": {
"#": 252
}
},
[
{
"#": 238
},
{
"#": 239
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 241
},
"min": {
"#": 242
}
},
{
"x": 450,
"y": 470
},
{
"x": 350,
"y": 420
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 445
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 445
},
{
"fillStyle": "#556270",
"lineWidth": 1.5,
"sprite": {
"#": 250
},
"strokeStyle": "#222f3d",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 0
},
[
{
"#": 253
},
{
"#": 254
},
{
"#": 255
},
{
"#": 256
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 350,
"y": 420
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 450,
"y": 420
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 450,
"y": 470
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 350,
"y": 470
},
[],
[],
[
{
"#": 260
}
],
{
"angularStiffness": 1,
"bodyB": "",
"id": 1,
"label": "Mouse Constraint",
"length": 0.01,
"pointA": {
"#": 261
},
"pointB": "",
"render": {
"#": 262
},
"stiffness": 0.1,
"type": "constraint"
},
{
"x": 0,
"y": 0
},
{
"lineWidth": 3,
"strokeStyle": "#90EE90",
"visible": true
},
{
"afterAdd": {
"#": 264
}
},
[],
{
"x": 0,
"y": 1
}
]