|
| 1 | +{ |
| 2 | + "data": [ |
| 3 | + { |
| 4 | + "type": "cone", |
| 5 | + "name": "base", |
| 6 | + "x": [1, 1, 1], |
| 7 | + "y": [1, 2, 3], |
| 8 | + "z": [1, 1, 1], |
| 9 | + "u": [1, 2, 3], |
| 10 | + "v": [1, 1, 2], |
| 11 | + "w": [4, 4, 1], |
| 12 | + "hoverinfo": "u+v+w+name", |
| 13 | + "showscale": false |
| 14 | + }, |
| 15 | + { |
| 16 | + "type": "cone", |
| 17 | + "name": "opacity:0.3", |
| 18 | + "x": [2, 2, 2], |
| 19 | + "y": [1, 2, 3], |
| 20 | + "z": [1, 1, 1], |
| 21 | + "u": [1, 2, 3], |
| 22 | + "v": [1, 1, 2], |
| 23 | + "w": [4, 4, 1], |
| 24 | + "hoverinfo": "u+v+w+name", |
| 25 | + "showscale": false, |
| 26 | + "opacity": 0.3 |
| 27 | + }, |
| 28 | + { |
| 29 | + "type": "cone", |
| 30 | + "name": "lighting.ambient:0.3", |
| 31 | + "x": [3, 3, 3], |
| 32 | + "y": [1, 2, 3], |
| 33 | + "z": [1, 1, 1], |
| 34 | + "u": [1, 2, 3], |
| 35 | + "v": [1, 1, 2], |
| 36 | + "w": [4, 4, 1], |
| 37 | + "hoverinfo": "u+v+w+name", |
| 38 | + "showscale": false, |
| 39 | + "lighting": {"ambient": 0.3} |
| 40 | + }, |
| 41 | + { |
| 42 | + "type": "cone", |
| 43 | + "name": "lighting.diffuse:0.3", |
| 44 | + "x": [4, 4, 4], |
| 45 | + "y": [1, 2, 3], |
| 46 | + "z": [1, 1, 1], |
| 47 | + "u": [1, 2, 3], |
| 48 | + "v": [1, 1, 2], |
| 49 | + "w": [4, 4, 1], |
| 50 | + "hoverinfo": "u+v+w+name", |
| 51 | + "showscale": false, |
| 52 | + "lighting": {"diffuse": 0.3} |
| 53 | + }, |
| 54 | + { |
| 55 | + "type": "cone", |
| 56 | + "name": "lighting.specular:2", |
| 57 | + "x": [5, 5, 5], |
| 58 | + "y": [1, 2, 3], |
| 59 | + "z": [1, 1, 1], |
| 60 | + "u": [1, 2, 3], |
| 61 | + "v": [1, 1, 2], |
| 62 | + "w": [4, 4, 1], |
| 63 | + "hoverinfo": "u+v+w+name", |
| 64 | + "showscale": false, |
| 65 | + "lighting": {"specular": 2} |
| 66 | + }, |
| 67 | + { |
| 68 | + "type": "cone", |
| 69 | + "name": "lighting.roughness:1", |
| 70 | + "x": [6, 6, 6], |
| 71 | + "y": [1, 2, 3], |
| 72 | + "z": [1, 1, 1], |
| 73 | + "u": [1, 2, 3], |
| 74 | + "v": [1, 1, 2], |
| 75 | + "w": [4, 4, 1], |
| 76 | + "hoverinfo": "u+v+w+name", |
| 77 | + "showscale": false, |
| 78 | + "lighting": {"roughness": 1} |
| 79 | + }, |
| 80 | + { |
| 81 | + "type": "cone", |
| 82 | + "name": "lighting.fresnel:2", |
| 83 | + "x": [7, 7, 7], |
| 84 | + "y": [1, 2, 3], |
| 85 | + "z": [1, 1, 1], |
| 86 | + "u": [1, 2, 3], |
| 87 | + "v": [1, 1, 2], |
| 88 | + "w": [4, 4, 1], |
| 89 | + "hoverinfo": "u+v+w+name", |
| 90 | + "showscale": false, |
| 91 | + "lighting": {"fresnel": 2} |
| 92 | + }, |
| 93 | + { |
| 94 | + "type": "cone", |
| 95 | + "name": "lighting.position x:0,y:0,z:1e5", |
| 96 | + "x": [8, 8, 8], |
| 97 | + "y": [1, 2, 3], |
| 98 | + "z": [1, 1, 1], |
| 99 | + "u": [1, 2, 3], |
| 100 | + "v": [1, 1, 2], |
| 101 | + "w": [4, 4, 1], |
| 102 | + "hoverinfo": "u+v+w+name", |
| 103 | + "showscale": false, |
| 104 | + "lightposition": {"x": 0, "y": 0, "z": 1e5} |
| 105 | + } |
| 106 | + ], |
| 107 | + "layout": { |
| 108 | + "scene": { |
| 109 | + "aspectmode": "data", |
| 110 | + "camera": { |
| 111 | + "eye": {"x": 0.05, "y": -2.6, "z": 2} |
| 112 | + } |
| 113 | + }, |
| 114 | + "width": 500, |
| 115 | + "height": 500, |
| 116 | + "margin": {"t": 0, "b": 0, "l": 0, "r": 0} |
| 117 | + } |
| 118 | +} |
0 commit comments