mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
102 lines
No EOL
1.2 KiB
JSON
102 lines
No EOL
1.2 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 2
|
|
},
|
|
"composites": {
|
|
"#": 5
|
|
},
|
|
"constraints": {
|
|
"#": 6
|
|
},
|
|
"gravity": {
|
|
"#": 11
|
|
},
|
|
"id": 4,
|
|
"isModified": true,
|
|
"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,
|
|
"id": 5,
|
|
"label": "Mouse Constraint",
|
|
"length": 0.01,
|
|
"pointA": {
|
|
"#": 8
|
|
},
|
|
"pointB": {
|
|
"#": 9
|
|
},
|
|
"render": {
|
|
"#": 10
|
|
},
|
|
"stiffness": 0.1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"lineWidth": 3,
|
|
"strokeStyle": "#90EE90",
|
|
"visible": true
|
|
},
|
|
{
|
|
"scale": 0.001,
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |