awv3
Version:
AWV client CAD framework
2,025 lines (2,024 loc) • 693 kB
JSON
{
"type": "Program",
"start": 0,
"end": 5407,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 150,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 18,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 28,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 35,
"end": 42,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 35,
"end": 42,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 48,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 38
}
},
"value": "../three/object3",
"rawValue": "../three/object3",
"raw": "'../three/object3'"
}
},
{
"type": "VariableDeclaration",
"start": 71,
"end": 121,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 75,
"end": 120,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 75,
"end": 83,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 12
}
},
"name": "canvas2d"
},
"init": {
"type": "CallExpression",
"start": 86,
"end": 120,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 86,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 86,
"end": 94,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 23
}
},
"name": "document"
},
"property": {
"type": "Identifier",
"start": 95,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 37
}
},
"name": "createElement"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 110,
"end": 118,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 47
}
},
"value": "canvas",
"rawValue": "canvas",
"raw": "'canvas'"
}
]
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 123,
"end": 144,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 123,
"end": 143,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 20
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 123,
"end": 137,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 123,
"end": 131,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 8
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 132,
"end": 137,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
}
},
"name": "width"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 140,
"end": 143,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 20
}
},
"value": 128,
"rawValue": 128,
"raw": "128"
}
}
},
{
"type": "ExpressionStatement",
"start": 146,
"end": 168,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 22
}
},
"expression": {
"type": "AssignmentExpression",
"start": 146,
"end": 167,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 146,
"end": 161,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 146,
"end": 154,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 8
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 155,
"end": 161,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
}
},
"name": "height"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 164,
"end": 167,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 21
}
},
"value": 128,
"rawValue": 128,
"raw": "128"
}
}
},
{
"type": "VariableDeclaration",
"start": 170,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 174,
"end": 211,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 174,
"end": 181,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 11
}
},
"name": "context"
},
"init": {
"type": "CallExpression",
"start": 184,
"end": 211,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 184,
"end": 203,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 184,
"end": 192,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 22
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 193,
"end": 203,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 33
}
},
"name": "getContext"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 205,
"end": 209,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 39
}
},
"value": "2d",
"rawValue": "2d",
"raw": "'2d'"
}
]
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 214,
"end": 365,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 151
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 218,
"end": 364,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 150
}
},
"id": {
"type": "Identifier",
"start": 218,
"end": 226,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 12
}
},
"name": "gradient"
},
"init": {
"type": "CallExpression",
"start": 229,
"end": 364,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 150
}
},
"callee": {
"type": "MemberExpression",
"start": 229,
"end": 257,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 229,
"end": 236,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 22
}
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 237,
"end": 257,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"column": 43
}
},
"name": "createRadialGradient"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 259,
"end": 277,
"loc": {
"start": {
"line": 8,
"column": 45
},
"end": {
"line": 8,
"column": 63
}
},
"left": {
"type": "MemberExpression",
"start": 259,
"end": 273,
"loc": {
"start": {
"line": 8,
"column": 45
},
"end": {
"line": 8,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 259,
"end": 267,
"loc": {
"start": {
"line": 8,
"column": 45
},
"end": {
"line": 8,
"column": 53
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 268,
"end": 273,
"loc": {
"start": {
"line": 8,
"column": 54
},
"end": {
"line": 8,
"column": 59
}
},
"name": "width"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Literal",
"start": 276,
"end": 277,
"loc": {
"start": {
"line": 8,
"column": 62
},
"end": {
"line": 8,
"column": 63
}
},
"value": 2,
"rawValue": 2,
"raw": "2"
}
},
{
"type": "BinaryExpression",
"start": 279,
"end": 298,
"loc": {
"start": {
"line": 8,
"column": 65
},
"end": {
"line": 8,
"column": 84
}
},
"left": {
"type": "MemberExpression",
"start": 279,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 65
},
"end": {
"line": 8,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 279,
"end": 287,
"loc": {
"start": {
"line": 8,
"column": 65
},
"end": {
"line": 8,
"column": 73
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 288,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 74
},
"end": {
"line": 8,
"column": 80
}
},
"name": "height"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Literal",
"start": 297,
"end": 298,
"loc": {
"start": {
"line": 8,
"column": 83
},
"end": {
"line": 8,
"column": 84
}
},
"value": 2,
"rawValue": 2,
"raw": "2"
}
},
{
"type": "Literal",
"start": 300,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 86
},
"end": {
"line": 8,
"column": 87
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
},
{
"type": "BinaryExpression",
"start": 303,
"end": 321,
"loc": {
"start": {
"line": 8,
"column": 89
},
"end": {
"line": 8,
"column": 107
}
},
"left": {
"type": "MemberExpression",
"start": 303,
"end": 317,
"loc": {
"start": {
"line": 8,
"column": 89
},
"end": {
"line": 8,
"column": 103
}
},
"object": {
"type": "Identifier",
"start": 303,
"end": 311,
"loc": {
"start": {
"line": 8,
"column": 89
},
"end": {
"line": 8,
"column": 97
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 312,
"end": 317,
"loc": {
"start": {
"line": 8,
"column": 98
},
"end": {
"line": 8,
"column": 103
}
},
"name": "width"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Literal",
"start": 320,
"end": 321,
"loc": {
"start": {
"line": 8,
"column": 106
},
"end": {
"line": 8,
"column": 107
}
},
"value": 2,
"rawValue": 2,
"raw": "2"
}
},
{
"type": "BinaryExpression",
"start": 323,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 109
},
"end": {
"line": 8,
"column": 128
}
},
"left": {
"type": "MemberExpression",
"start": 323,
"end": 338,
"loc": {
"start": {
"line": 8,
"column": 109
},
"end": {
"line": 8,
"column": 124
}
},
"object": {
"type": "Identifier",
"start": 323,
"end": 331,
"loc": {
"start": {
"line": 8,
"column": 109
},
"end": {
"line": 8,
"column": 117
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 332,
"end": 338,
"loc": {
"start": {
"line": 8,
"column": 118
},
"end": {
"line": 8,
"column": 124
}
},
"name": "height"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Literal",
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 127
},
"end": {
"line": 8,
"column": 128
}
},
"value": 2,
"rawValue": 2,
"raw": "2"
}
},
{
"type": "BinaryExpression",
"start": 344,
"end": 362,
"loc": {
"start": {
"line": 8,
"column": 130
},
"end": {
"line": 8,
"column": 148
}
},
"left": {
"type": "MemberExpression",
"start": 344,
"end": 358,
"loc": {
"start": {
"line": 8,
"column": 130
},
"end": {
"line": 8,
"column": 144
}
},
"object": {
"type": "Identifier",
"start": 344,
"end": 352,
"loc": {
"start": {
"line": 8,
"column": 130
},
"end": {
"line": 8,
"column": 138
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 353,
"end": 358,
"loc": {
"start": {
"line": 8,
"column": 139
},
"end": {
"line": 8,
"column": 144
}
},
"name": "width"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Literal",
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 8,
"column": 147
},
"end": {
"line": 8,
"column": 148
}
},
"value": 2,
"rawValue": 2,
"raw": "2"
}
}
]
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 367,
"end": 416,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 367,
"end": 415,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 367,
"end": 388,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 367,
"end": 375,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 8
}
},
"name": "gradient"
},
"property": {
"type": "Identifier",
"start": 376,
"end": 388,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 21
}
},
"name": "addColorStop"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 390,
"end": 393,
"loc": {
"start": {
"line": 9,
"column": 23
},
"end": {
"line": 9,
"column": 26
}
},
"value": 0.1,
"rawValue": 0.1,
"raw": "0.1"
},
{
"type": "Literal",
"start": 395,
"end": 413,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 46
}
},
"value": "rgba(0,0,0,0.15)",
"rawValue": "rgba(0,0,0,0.15)",
"raw": "'rgba(0,0,0,0.15)'"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 418,
"end": 462,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 418,
"end": 461,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 418,
"end": 439,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 418,
"end": 426,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 8
}
},
"name": "gradient"
},
"property": {
"type": "Identifier",
"start": 427,
"end": 439,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
},
"name": "addColorStop"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 441,
"end": 442,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 24
}
},
"value": 1,
"rawValue": 1,
"raw": "1"
},
{
"type": "Literal",
"start": 444,
"end": 459,
"loc": {
"start": {
"line": 10,
"column": 26
},
"end": {
"line": 10,
"column": 41
}
},
"value": "rgba(0,0,0,0)",
"rawValue": "rgba(0,0,0,0)",
"raw": "'rgba(0,0,0,0)'"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 464,
"end": 493,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 464,
"end": 492,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 464,
"end": 481,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 464,
"end": 471,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 7
}
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 472,
"end": 481,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 17
}
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 484,
"end": 492,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 28
}
},
"name": "gradient"
}
}
},
{
"type": "ExpressionStatement",
"start": 495,
"end": 553,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 495,
"end": 552,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 495,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 495,
"end": 502,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 7
}
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 503,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 16
}
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "Literal",
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 12,
"column": 19
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
},
{
"type": "Literal",
"start": 516,
"end": 517,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 22
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
},
{
"type": "MemberExpression",
"start": 519,
"end": 533,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 519,
"end": 527,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 32
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 528,
"end": 533,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 38
}
},
"name": "width"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 535,
"end": 550,
"loc": {
"start": {
"line": 12,
"column": 40
},
"end": {
"line": 12,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 535,
"end": 543,
"loc": {
"start": {
"line": 12,
"column": 40
},
"end": {
"line": 12,
"column": 48
}
},
"name": "canvas2d"
},
"property": {
"type": "Identifier",
"start": 544,
"end": 550,
"loc": {
"start": {
"line": 12,
"column": 49
},
"end": {
"line": 12,
"column": 55
}
},
"name": "height"
},
"computed": false
}
]
}
},
{
"type": "VariableDeclaration",
"start": 555,
"end": 611,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 559,
"end": 610,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 559,
"end": 572,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 17
}
},
"name": "shadowTexture"
},
"init": {
"type": "NewExpression",
"start": 575,
"end": 610,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 579,
"end": 598,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 579,
"end": 584,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 29
}
},
"name": "THREE"
},
"property": {
"type": "Identifier",
"start": 585,
"end": 598,
"loc": {
"start": {
"line": 13,
"column": 30
},
"end": {
"line": 13,
"column": 43
}
},
"name": "CanvasTexture"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 600,
"end": 608,
"loc": {
"start": {
"line": 13,
"column": 45
},
"end": {
"line": 13,
"column": 53
}
},
"name": "canvas2d"
}
]
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 613,
"end": 707,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 94
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 617,
"end": 706,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 93
}
},
"id": {
"type": "Identifier",
"start": 617,
"end": 631,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 18
}
},
"name": "shadowMaterial"
},
"init": {
"type": "NewExpression",
"start": 634,
"end": 706,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 638,
"end": 661,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 638,
"end": 643,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 30
}
},
"name": "THREE"
},
"property": {
"type": "Identifier",
"start": 644,
"end": 661,
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 48
}
},
"name": "MeshBasicMaterial"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 663,
"end": 704,
"loc": {
"start": {
"line": 14,
"column": 50
},
"end": {
"line": 14,
"column": 91
}
},
"properties": [
{
"type": "Property",
"start": 665,
"end": 683,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 70
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 665,
"end": 668,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 55
}
},
"name": "map"
},
"value": {
"type": "Identifier",
"start": 670,
"end": 683,
"loc": {
"start": {
"line": 14,
"column": 57
},
"end": {
"line": 14,
"column": 70
}
},
"name": "shadowTexture"
},
"kind": "init"
},
{
"type": "Property",
"start": 685,
"end": 702,
"loc": {
"start": {
"line": 14,
"column": 72
},
"end": {
"line": 14,
"column": 89
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 685,
"end": 696,
"loc": {
"start": {
"line": 14,
"column": 72
},
"end": {
"line": 14,
"column": 83
}
},