mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-27 13:59:01 -05:00
97 lines
No EOL
1.2 KiB
JSON
97 lines
No EOL
1.2 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 2
|
|
},
|
|
"composites": {
|
|
"#": 5
|
|
},
|
|
"constraints": {
|
|
"#": 6
|
|
},
|
|
"gravity": {
|
|
"#": 10
|
|
},
|
|
"id": 4,
|
|
"isModified": false,
|
|
"label": "World",
|
|
"parent": "",
|
|
"type": "composite"
|
|
},
|
|
[],
|
|
{
|
|
"max": {
|
|
"#": 3
|
|
},
|
|
"min": {
|
|
"#": 4
|
|
}
|
|
},
|
|
{
|
|
"x": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"y": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"x": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"-Infinity"
|
|
]
|
|
},
|
|
"y": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"-Infinity"
|
|
]
|
|
}
|
|
},
|
|
[],
|
|
[
|
|
{
|
|
"#": 7
|
|
}
|
|
],
|
|
{
|
|
"angularStiffness": 1,
|
|
"bodyB": "",
|
|
"id": 5,
|
|
"label": "Mouse Constraint",
|
|
"length": 0.01,
|
|
"pointA": {
|
|
"#": 8
|
|
},
|
|
"pointB": "",
|
|
"render": {
|
|
"#": 9
|
|
},
|
|
"stiffness": 0.1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"lineWidth": 3,
|
|
"strokeStyle": "#90EE90",
|
|
"visible": true
|
|
},
|
|
{
|
|
"scale": 0.001,
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |