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/node/refs/airFriction/airFriction-10.json
2016-02-07 15:52:18 +00:00

1627 lines
No EOL
20 KiB
JSON

[
{
"id": 10,
"type": "composite",
"parent": null,
"isModified": false,
"bodies": {
"#": 1
},
"constraints": {
"#": 163
},
"composites": {
"#": 164
},
"label": "World",
"gravity": {
"#": 165
},
"bounds": {
"#": 166
}
},
[
{
"#": 2
},
{
"#": 25
},
{
"#": 48
},
{
"#": 71
},
{
"#": 94
},
{
"#": 117
},
{
"#": 140
}
],
{
"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,
"region": {
"#": 24
}
},
[
{
"#": 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,
"opacity": 1,
"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,16,-1,0",
"startCol": -1,
"endCol": 16,
"startRow": -1,
"endRow": 0
},
{
"id": 1,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 26
},
"angle": 0,
"vertices": {
"#": 27
},
"position": {
"#": 32
},
"force": {
"#": 33
},
"torque": 0,
"positionImpulse": {
"#": 34
},
"constraintImpulse": {
"#": 35
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 36
},
"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": {
"#": 37
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 38
},
"bounds": {
"#": 40
},
"positionPrev": {
"#": 43
},
"anglePrev": 0,
"axes": {
"#": 44
},
"area": 40930.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 25
},
"sleepCounter": 0,
"region": {
"#": 47
}
},
[
{
"#": 25
}
],
[
{
"#": 28
},
{
"#": 29
},
{
"#": 30
},
{
"#": 31
}
],
{
"x": -5.25,
"y": 579.75,
"index": 0,
"body": {
"#": 25
},
"isInternal": false
},
{
"x": 805.25,
"y": 579.75,
"index": 1,
"body": {
"#": 25
},
"isInternal": false
},
{
"x": 805.25,
"y": 630.25,
"index": 2,
"body": {
"#": 25
},
"isInternal": false
},
{
"x": -5.25,
"y": 630.25,
"index": 3,
"body": {
"#": 25
},
"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,
"opacity": 1,
"sprite": {
"#": 39
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 41
},
"max": {
"#": 42
}
},
{
"x": -5.25,
"y": 579.75
},
{
"x": 805.25,
"y": 630.25
},
{
"x": 400,
"y": 605
},
[
{
"#": 45
},
{
"#": 46
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "-1,16,12,13",
"startCol": -1,
"endCol": 16,
"startRow": 12,
"endRow": 13
},
{
"id": 2,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 49
},
"angle": 0,
"vertices": {
"#": 50
},
"position": {
"#": 55
},
"force": {
"#": 56
},
"torque": 0,
"positionImpulse": {
"#": 57
},
"constraintImpulse": {
"#": 58
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 59
},
"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": {
"#": 60
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 61
},
"bounds": {
"#": 63
},
"positionPrev": {
"#": 66
},
"anglePrev": 0,
"axes": {
"#": 67
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 48
},
"sleepCounter": 0,
"region": {
"#": 70
}
},
[
{
"#": 48
}
],
[
{
"#": 51
},
{
"#": 52
},
{
"#": 53
},
{
"#": 54
}
],
{
"x": 779.75,
"y": -5.25,
"index": 0,
"body": {
"#": 48
},
"isInternal": false
},
{
"x": 830.25,
"y": -5.25,
"index": 1,
"body": {
"#": 48
},
"isInternal": false
},
{
"x": 830.25,
"y": 605.25,
"index": 2,
"body": {
"#": 48
},
"isInternal": false
},
{
"x": 779.75,
"y": 605.25,
"index": 3,
"body": {
"#": 48
},
"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,
"opacity": 1,
"sprite": {
"#": 62
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 64
},
"max": {
"#": 65
}
},
{
"x": 779.75,
"y": -5.25
},
{
"x": 830.25,
"y": 605.25
},
{
"x": 805,
"y": 300
},
[
{
"#": 68
},
{
"#": 69
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "16,17,-1,12",
"startCol": 16,
"endCol": 17,
"startRow": -1,
"endRow": 12
},
{
"id": 3,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 72
},
"angle": 0,
"vertices": {
"#": 73
},
"position": {
"#": 78
},
"force": {
"#": 79
},
"torque": 0,
"positionImpulse": {
"#": 80
},
"constraintImpulse": {
"#": 81
},
"totalContacts": 0,
"speed": 0,
"angularSpeed": 0,
"velocity": {
"#": 82
},
"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": {
"#": 83
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 84
},
"bounds": {
"#": 86
},
"positionPrev": {
"#": 89
},
"anglePrev": 0,
"axes": {
"#": 90
},
"area": 30830.25,
"mass": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseMass": 0,
"inertia": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"inverseInertia": 0,
"parent": {
"#": 71
},
"sleepCounter": 0,
"region": {
"#": 93
}
},
[
{
"#": 71
}
],
[
{
"#": 74
},
{
"#": 75
},
{
"#": 76
},
{
"#": 77
}
],
{
"x": -30.25,
"y": -5.25,
"index": 0,
"body": {
"#": 71
},
"isInternal": false
},
{
"x": 20.25,
"y": -5.25,
"index": 1,
"body": {
"#": 71
},
"isInternal": false
},
{
"x": 20.25,
"y": 605.25,
"index": 2,
"body": {
"#": 71
},
"isInternal": false
},
{
"x": -30.25,
"y": 605.25,
"index": 3,
"body": {
"#": 71
},
"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,
"opacity": 1,
"sprite": {
"#": 85
},
"lineWidth": 1.5,
"fillStyle": "#eeeeee",
"strokeStyle": "#bbbbbb"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 87
},
"max": {
"#": 88
}
},
{
"x": -30.25,
"y": -5.25
},
{
"x": 20.25,
"y": 605.25
},
{
"x": -5,
"y": 300
},
[
{
"#": 91
},
{
"#": 92
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "-1,0,-1,12",
"startCol": -1,
"endCol": 0,
"startRow": -1,
"endRow": 12
},
{
"id": 4,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 95
},
"angle": 0,
"vertices": {
"#": 96
},
"position": {
"#": 101
},
"force": {
"#": 102
},
"torque": 0,
"positionImpulse": {
"#": 103
},
"constraintImpulse": {
"#": 104
},
"totalContacts": 0,
"speed": 3.04032,
"angularSpeed": 0,
"velocity": {
"#": 105
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.001,
"collisionFilter": {
"#": 106
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 107
},
"bounds": {
"#": 109
},
"positionPrev": {
"#": 112
},
"anglePrev": 0,
"axes": {
"#": 113
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 94
},
"sleepCounter": 0,
"region": {
"#": 116
}
},
[
{
"#": 94
}
],
[
{
"#": 97
},
{
"#": 98
},
{
"#": 99
},
{
"#": 100
}
],
{
"x": 170,
"y": 88.27236,
"index": 0,
"body": {
"#": 94
},
"isInternal": false
},
{
"x": 230,
"y": 88.27236,
"index": 1,
"body": {
"#": 94
},
"isInternal": false
},
{
"x": 230,
"y": 148.27236,
"index": 2,
"body": {
"#": 94
},
"isInternal": false
},
{
"x": 170,
"y": 148.27236,
"index": 3,
"body": {
"#": 94
},
"isInternal": false
},
{
"x": 200,
"y": 118.27236
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 3.04032
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"opacity": 1,
"sprite": {
"#": 108
},
"lineWidth": 1.5,
"fillStyle": "#4ECDC4",
"strokeStyle": "#1b9a91"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 110
},
"max": {
"#": 111
}
},
{
"x": 170,
"y": 88.27236
},
{
"x": 230,
"y": 151.31268
},
{
"x": 200,
"y": 115.23204
},
[
{
"#": 114
},
{
"#": 115
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "3,4,1,3",
"startCol": 3,
"endCol": 4,
"startRow": 1,
"endRow": 3
},
{
"id": 5,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 118
},
"angle": 0,
"vertices": {
"#": 119
},
"position": {
"#": 124
},
"force": {
"#": 125
},
"torque": 0,
"positionImpulse": {
"#": 126
},
"constraintImpulse": {
"#": 127
},
"totalContacts": 0,
"speed": 2.39556,
"angularSpeed": 0,
"velocity": {
"#": 128
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.05,
"collisionFilter": {
"#": 129
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 130
},
"bounds": {
"#": 132
},
"positionPrev": {
"#": 135
},
"anglePrev": 0,
"axes": {
"#": 136
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 117
},
"sleepCounter": 0,
"region": {
"#": 139
}
},
[
{
"#": 117
}
],
[
{
"#": 120
},
{
"#": 121
},
{
"#": 122
},
{
"#": 123
}
],
{
"x": 370,
"y": 85.59557,
"index": 0,
"body": {
"#": 117
},
"isInternal": false
},
{
"x": 430,
"y": 85.59557,
"index": 1,
"body": {
"#": 117
},
"isInternal": false
},
{
"x": 430,
"y": 145.59557,
"index": 2,
"body": {
"#": 117
},
"isInternal": false
},
{
"x": 370,
"y": 145.59557,
"index": 3,
"body": {
"#": 117
},
"isInternal": false
},
{
"x": 400,
"y": 115.59557
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 2.39556
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"opacity": 1,
"sprite": {
"#": 131
},
"lineWidth": 1.5,
"fillStyle": "#FF6B6B",
"strokeStyle": "#cc3838"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 133
},
"max": {
"#": 134
}
},
{
"x": 370,
"y": 85.59557
},
{
"x": 430,
"y": 147.99112
},
{
"x": 400,
"y": 113.20001
},
[
{
"#": 137
},
{
"#": 138
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "7,8,1,3",
"startCol": 7,
"endCol": 8,
"startRow": 1,
"endRow": 3
},
{
"id": 6,
"type": "body",
"label": "Rectangle Body",
"parts": {
"#": 141
},
"angle": 0,
"vertices": {
"#": 142
},
"position": {
"#": 147
},
"force": {
"#": 148
},
"torque": 0,
"positionImpulse": {
"#": 149
},
"constraintImpulse": {
"#": 150
},
"totalContacts": 0,
"speed": 1.90608,
"angularSpeed": 0,
"velocity": {
"#": 151
},
"angularVelocity": 0,
"isStatic": false,
"isSleeping": false,
"motion": 0,
"sleepThreshold": 60,
"density": 0.001,
"restitution": 0,
"friction": 0.1,
"frictionStatic": 0.5,
"frictionAir": 0.1,
"collisionFilter": {
"#": 152
},
"slop": 0.05,
"timeScale": 1,
"render": {
"#": 153
},
"bounds": {
"#": 155
},
"positionPrev": {
"#": 158
},
"anglePrev": 0,
"axes": {
"#": 159
},
"area": 3600,
"mass": 3.6,
"inverseMass": 0.27778,
"inertia": 8640,
"inverseInertia": 0.00012,
"parent": {
"#": 140
},
"sleepCounter": 0,
"region": {
"#": 162
}
},
[
{
"#": 140
}
],
[
{
"#": 143
},
{
"#": 144
},
{
"#": 145
},
{
"#": 146
}
],
{
"x": 570,
"y": 83.40082,
"index": 0,
"body": {
"#": 140
},
"isInternal": false
},
{
"x": 630,
"y": 83.40082,
"index": 1,
"body": {
"#": 140
},
"isInternal": false
},
{
"x": 630,
"y": 143.40082,
"index": 2,
"body": {
"#": 140
},
"isInternal": false
},
{
"x": 570,
"y": 143.40082,
"index": 3,
"body": {
"#": 140
},
"isInternal": false
},
{
"x": 600,
"y": 113.40082
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0,
"angle": 0
},
{
"x": 0,
"y": 1.90608
},
{
"category": 1,
"mask": 4294967295,
"group": 0
},
{
"visible": true,
"opacity": 1,
"sprite": {
"#": 154
},
"lineWidth": 1.5,
"fillStyle": "#C7F464",
"strokeStyle": "#94c131"
},
{
"xScale": 1,
"yScale": 1,
"xOffset": 0.5,
"yOffset": 0.5
},
{
"min": {
"#": 156
},
"max": {
"#": 157
}
},
{
"x": 570,
"y": 83.40082
},
{
"x": 630,
"y": 145.3069
},
{
"x": 600,
"y": 111.49474
},
[
{
"#": 160
},
{
"#": 161
}
],
{
"x": 0,
"y": 1
},
{
"x": -1,
"y": 0
},
{
"id": "11,13,1,3",
"startCol": 11,
"endCol": 13,
"startRow": 1,
"endRow": 3
},
[],
[],
{
"x": 0,
"y": 1,
"scale": 0.001
},
{
"min": {
"#": 167
},
"max": {
"#": 168
}
},
{
"x": {
"#.": "Number",
"#v": [
"-Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"-Infinity"
]
}
},
{
"x": {
"#.": "Number",
"#v": [
"Infinity"
]
},
"y": {
"#.": "Number",
"#v": [
"Infinity"
]
}
}
]