0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-27 09:50:52 -05:00
liabru-matter-js/test/browser/refs/airFriction/airFriction-10.json
2015-12-02 00:39:37 +00:00

1508 lines
No EOL
19 KiB
JSON

[
{
"bodies": {
"#": 1
},
"bounds": {
"#": 156
},
"composites": {
"#": 159
},
"constraints": {
"#": 160
},
"gravity": {
"#": 164
},
"id": 10,
"isModified": false,
"label": "World",
"parent": "",
"type": "composite"
},
[
{
"#": 2
},
{
"#": 24
},
{
"#": 46
},
{
"#": 68
},
{
"#": 90
},
{
"#": 112
},
{
"#": 134
}
],
{
"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": 3600,
"axes": {
"#": 91
},
"bounds": {
"#": 94
},
"collisionFilter": {
"#": 97
},
"constraintImpulse": {
"#": 98
},
"density": 0.001,
"force": {
"#": 99
},
"friction": 0.1,
"frictionAir": 0.001,
"frictionStatic": 0.5,
"id": 4,
"inertia": 8640,
"inverseInertia": 0.00012,
"inverseMass": 0.27778,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 3.6,
"motion": 0,
"parent": null,
"position": {
"#": 100
},
"positionImpulse": {
"#": 101
},
"positionPrev": {
"#": 102
},
"region": {
"#": 103
},
"render": {
"#": 104
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 3.04032,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 106
},
"vertices": {
"#": 107
}
},
[
{
"#": 92
},
{
"#": 93
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 95
},
"min": {
"#": 96
}
},
{
"x": 230,
"y": 151.31268
},
{
"x": 170,
"y": 88.27236
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 200,
"y": 118.27236
},
{
"x": 0,
"y": 0
},
{
"x": 200,
"y": 115.23204
},
{
"endCol": 4,
"endRow": 3,
"id": "3,4,1,3",
"startCol": 3,
"startRow": 1
},
{
"fillStyle": "#4ECDC4",
"lineWidth": 1.5,
"sprite": {
"#": 105
},
"strokeStyle": "#1b9a91",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 3.04032
},
[
{
"#": 108
},
{
"#": 109
},
{
"#": 110
},
{
"#": 111
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 170,
"y": 88.27236
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 230,
"y": 88.27236
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 230,
"y": 148.27236
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 170,
"y": 148.27236
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 3600,
"axes": {
"#": 113
},
"bounds": {
"#": 116
},
"collisionFilter": {
"#": 119
},
"constraintImpulse": {
"#": 120
},
"density": 0.001,
"force": {
"#": 121
},
"friction": 0.1,
"frictionAir": 0.05,
"frictionStatic": 0.5,
"id": 5,
"inertia": 8640,
"inverseInertia": 0.00012,
"inverseMass": 0.27778,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 3.6,
"motion": 0,
"parent": null,
"position": {
"#": 122
},
"positionImpulse": {
"#": 123
},
"positionPrev": {
"#": 124
},
"region": {
"#": 125
},
"render": {
"#": 126
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 2.39556,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 128
},
"vertices": {
"#": 129
}
},
[
{
"#": 114
},
{
"#": 115
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 117
},
"min": {
"#": 118
}
},
{
"x": 430,
"y": 147.99112
},
{
"x": 370,
"y": 85.59557
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 115.59557
},
{
"x": 0,
"y": 0
},
{
"x": 400,
"y": 113.20001
},
{
"endCol": 8,
"endRow": 3,
"id": "7,8,1,3",
"startCol": 7,
"startRow": 1
},
{
"fillStyle": "#FF6B6B",
"lineWidth": 1.5,
"sprite": {
"#": 127
},
"strokeStyle": "#cc3838",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 2.39556
},
[
{
"#": 130
},
{
"#": 131
},
{
"#": 132
},
{
"#": 133
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 370,
"y": 85.59557
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 430,
"y": 85.59557
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 430,
"y": 145.59557
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 370,
"y": 145.59557
},
{
"angle": 0,
"anglePrev": 0,
"angularSpeed": 0,
"angularVelocity": 0,
"area": 3600,
"axes": {
"#": 135
},
"bounds": {
"#": 138
},
"collisionFilter": {
"#": 141
},
"constraintImpulse": {
"#": 142
},
"density": 0.001,
"force": {
"#": 143
},
"friction": 0.1,
"frictionAir": 0.1,
"frictionStatic": 0.5,
"id": 6,
"inertia": 8640,
"inverseInertia": 0.00012,
"inverseMass": 0.27778,
"isSleeping": false,
"isStatic": false,
"label": "Rectangle Body",
"mass": 3.6,
"motion": 0,
"parent": null,
"position": {
"#": 144
},
"positionImpulse": {
"#": 145
},
"positionPrev": {
"#": 146
},
"region": {
"#": 147
},
"render": {
"#": 148
},
"restitution": 0,
"sleepCounter": 0,
"sleepThreshold": 60,
"slop": 0.05,
"speed": 1.90608,
"timeScale": 1,
"torque": 0,
"totalContacts": 0,
"type": "body",
"velocity": {
"#": 150
},
"vertices": {
"#": 151
}
},
[
{
"#": 136
},
{
"#": 137
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"max": {
"#": 139
},
"min": {
"#": 140
}
},
{
"x": 630,
"y": 145.3069
},
{
"x": 570,
"y": 83.40082
},
{
"category": 1,
"group": 0,
"mask": 4294967295
},
{
"angle": 0,
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 600,
"y": 113.40082
},
{
"x": 0,
"y": 0
},
{
"x": 600,
"y": 111.49474
},
{
"endCol": 13,
"endRow": 3,
"id": "11,13,1,3",
"startCol": 11,
"startRow": 1
},
{
"fillStyle": "#C7F464",
"lineWidth": 1.5,
"sprite": {
"#": 149
},
"strokeStyle": "#94c131",
"visible": true
},
{
"xScale": 1,
"yScale": 1
},
{
"x": 0,
"y": 1.90608
},
[
{
"#": 152
},
{
"#": 153
},
{
"#": 154
},
{
"#": 155
}
],
{
"body": null,
"index": 0,
"isInternal": false,
"x": 570,
"y": 83.40082
},
{
"body": null,
"index": 1,
"isInternal": false,
"x": 630,
"y": 83.40082
},
{
"body": null,
"index": 2,
"isInternal": false,
"x": 630,
"y": 143.40082
},
{
"body": null,
"index": 3,
"isInternal": false,
"x": 570,
"y": 143.40082
},
{
"max": {
"#": 157
},
"min": {
"#": 158
}
},
{
"x": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"Infinity"
]
}
},
{
"x": {
"#.": "Number",
"#v": [
"-Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"-Infinity"
]
}
},
[],
[
{
"#": 161
}
],
{
"angularStiffness": 1,
"bodyB": "",
"id": 11,
"label": "Mouse Constraint",
"length": 0.01,
"pointA": {
"#": 162
},
"pointB": "",
"render": {
"#": 163
},
"stiffness": 0.1,
"type": "constraint"
},
{
"x": 0,
"y": 0
},
{
"lineWidth": 3,
"strokeStyle": "#90EE90",
"visible": true
},
{
"x": 0,
"y": 1
}
]