mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
96 lines
No EOL
1.1 KiB
JSON
96 lines
No EOL
1.1 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 2
|
|
},
|
|
"composites": {
|
|
"#": 5
|
|
},
|
|
"constraints": {
|
|
"#": 6
|
|
},
|
|
"gravity": {
|
|
"#": 10
|
|
},
|
|
"id": 0,
|
|
"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,
|
|
"bodyB": "",
|
|
"id": 1,
|
|
"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
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |