Skip to content

Commit 6712a55

Browse files
committed
revised mock
1 parent ad35241 commit 6712a55

File tree

2 files changed

+33
-34
lines changed

2 files changed

+33
-34
lines changed
118 KB
Loading

test/image/mocks/gl3d_line_rectangle_render.json

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,51 @@
11
{
22
"data": [
33
{
4-
"x":[1,1,0.965,0.866,0.707,0.5,0.258,0,-0.259,-0.5,-0.708,-0.867,-0.966,-1,-0.966,-0.867,-0.708,-0.501,-0.259,-0.001,0.258,0.5,0.707,0.866,0.965,1],
5-
"y":[0,0,-0.259,-0.5,-0.708,-0.867,-0.966,-1,-0.966,-0.867,-0.708,-0.5,-0.259,-0.001,0.258,0.5,0.707,0.866,0.965,1,0.965,0.866,0.707,0.5,0.258,0],
6-
"z":[-2,0,0.261,0.523,0.785,1.047,1.308,1.57,1.832,2.094,2.356,2.617,2.879,3.141,3.403,3.665,3.926,4.188,4.45,4.712,4.974,5.235,5.497,5.759,6.021,6.283],
7-
8-
"type": "scatter3d",
9-
"mode": "lines",
10-
"line": {"width": 40}
4+
"x":[-2,-1.867,-1.5,-1,-0.5,-0.134,0,-0.134,-0.5,-1,-1.5,-1.867,-2],
5+
"y":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
6+
"z":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
7+
"type": "scatter3d", "mode": "lines", "line": {"width": 20, "dash": "dash"}
118
},
129
{
13-
"x":[1,1,0.965,0.866,0.707,0.5,0.258,0,-0.259,-0.5,-0.708,-0.867,-0.966,-1,-0.966,-0.867,-0.708,-0.501,-0.259,-0.001,0.258,0.5,0.707,0.866,0.965,1],
14-
"y":[1,1,0.741,0.5,0.292,0.133,0.034,0,0.034,0.133,0.292,0.5,0.741,0.999,1.258,1.5,1.707,1.866,1.965,2,1.965,1.866,1.707,1.5,1.258,1],
15-
"z":[-2,0,0.261,0.523,0.785,1.047,1.308,1.57,1.832,2.094,2.356,2.617,2.879,3.141,3.403,3.665,3.926,4.188,4.45,4.712,4.974,5.235,5.497,5.759,6.021,6.283],
16-
17-
"type": "scatter3d",
18-
"mode": "lines",
19-
"line": {"width": 10}
10+
"x":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
11+
"y":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
12+
"z":[-2,-1.867,-1.5,-1,-0.5,-0.134,0,-0.134,-0.5,-1,-1.5,-1.867,-2],
13+
"type": "scatter3d", "mode": "lines", "line": {"width": 20, "dash": "dash"}
2014
},
2115
{
22-
"x":[1,1,0.965,0.866,0.707,0.5,0.258,0,-0.259,-0.5,-0.708,-0.867,-0.966,-1,-0.966,-0.867,-0.708,-0.501,-0.259,-0.001,0.258,0.5,0.707,0.866,0.965,1],
23-
"y":[-1,-1,-1.2590000000000001,-1.5,-1.708,-1.867,-1.966,-2,-1.966,-1.867,-1.708,-1.5,-1.2590000000000001,-1.0010000000000001,-0.742,-0.5,-0.293,-0.134,-0.035,0,-0.035,-0.134,-0.293,-0.5,-0.742,-1],
24-
"z":[-2,0,0.261,0.523,0.785,1.047,1.308,1.57,1.832,2.094,2.356,2.617,2.879,3.141,3.403,3.665,3.926,4.188,4.45,4.712,4.974,5.235,5.497,5.759,6.021,6.283],
25-
26-
"type": "scatter3d",
27-
"mode": "lines",
28-
"line": {"width": 2}
16+
"x":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
17+
"y":[-2,-1.867,-1.5,-1,-0.5,-0.134,0,-0.134,-0.5,-1,-1.5,-1.867,-2],
18+
"z":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
19+
"type": "scatter3d", "mode": "lines", "line": {"width": 20, "dash": "dash"}
2920
},
3021
{
31-
"x":[1,1,0.965,0.866,0.707,0.5,0.258,0,-0.259,-0.5,-0.708,-0.867,-0.966,-1,-0.966,-0.867,-0.708,-0.501,-0.259,-0.001,0.258,0.5,0.707,0.866,0.965,1],
32-
"y":[-1,-1,-1.2590000000000001,-1.5,-1.708,-1.867,-1.966,-2,-1.966,-1.867,-1.708,-1.5,-1.2590000000000001,-1.0010000000000001,-0.742,-0.5,-0.293,-0.134,-0.035,0,-0.035,-0.134,-0.293,-0.5,-0.742,-1],
33-
"z":[-1,1,1.2610000000000001,1.5230000000000001,1.7850000000000001,2.047,2.308,2.57,2.832,3.094,3.356,3.617,3.879,4.141,4.4030000000000005,4.665,4.926,5.188,5.45,5.712,5.974,6.235,6.497,6.759,7.021,7.283],
34-
35-
"type": "scatter3d",
36-
"mode": "lines",
37-
"line": {"width": 10, "dash": "dash"}
22+
"x":[0,0.133,0.5,1,1.5,1.866,2,1.866,1.5,1,0.5,0.133,0],
23+
"y":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
24+
"z":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
25+
"type": "scatter3d", "mode": "lines", "line": {"width": 10}
26+
},
27+
{
28+
"x":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
29+
"y":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
30+
"z":[0,0.133,0.5,1,1.5,1.866,2,1.866,1.5,1,0.5,0.133,0],
31+
"type": "scatter3d", "mode": "lines", "line": {"width": 10}
32+
},
33+
{
34+
"x":[-2,-1.667,-1.334,-1,-0.667,-0.334,0,0.333,0.666,1,1.333,1.666,2],
35+
"y":[0,0.133,0.5,1,1.5,1.866,2,1.866,1.5,1,0.5,0.133,0],
36+
"z":[-0.001,-0.5,-0.867,-1,-0.867,-0.5,0,0.499,0.866,1,0.866,0.499,0],
37+
"type": "scatter3d", "mode": "lines", "line": {"width": 10}
3838
}
39-
4039
],
4140
"layout": {
42-
"width": 800,
43-
"height": 800,
41+
"width": 1200,
42+
"height": 900,
4443
"scene": {
4544
"camera": {
4645
"eye": {
47-
"x": 0.0,
48-
"y": 0.0,
49-
"z": -2.0
46+
"x": -1.0,
47+
"y": -1.0,
48+
"z": -1.0
5049
},
5150
"center": {
5251
"x": 0.0,

0 commit comments

Comments
 (0)