Skip to content

Commit 3eba418

Browse files
committed
improved new mocks - the image based on master
1 parent 34ad403 commit 3eba418

File tree

2 files changed

+36
-7
lines changed

2 files changed

+36
-7
lines changed
50.7 KB
Loading

test/image/mocks/gl3d_line_rectangle_render.json

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,52 @@
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+
48
"type": "scatter3d",
59
"mode": "lines",
6-
"line": {"width": 40},
7-
"x":[2,1,0.9659258262890683,0.8660254037844387,0.7071067811865476,0.5000000000000001,0.25881904510252074,6.123233995736766e-17,-0.25881904510252085,-0.4999999999999998,-0.7071067811865475,-0.8660254037844387,-0.9659258262890682,-1,-0.9659258262890684,-0.8660254037844386,-0.7071067811865477,-0.5000000000000004,-0.25881904510252063,-1.8369701987210297e-16,0.25881904510252113,0.5000000000000001,0.7071067811865474,0.8660254037844384,0.9659258262890683,1],
8-
"y":[0,0,0.25881904510252074,0.49999999999999994,0.7071067811865475,0.8660254037844386,0.9659258262890683,1,0.9659258262890683,0.8660254037844387,0.7071067811865476,0.49999999999999994,0.258819045102521,1.2246467991473532e-16,-0.25881904510252035,-0.5000000000000001,-0.7071067811865475,-0.8660254037844385,-0.9659258262890683,-1,-0.9659258262890682,-0.8660254037844386,-0.7071067811865477,-0.5000000000000004,-0.2588190451025207,0],
9-
"z":[-1,0,0.2617993877991494,0.5235987755982988,0.7853981633974483,1.0471975511965976,1.3089969389957472,1.5707963267948966,1.8325957145940461,2.0943951023931953,2.356194490192345,2.6179938779914944,2.8797932657906435,3.141592653589793,3.4033920413889422,3.6651914291880923,3.9269908169872414,4.1887902047863905,4.4505895925855405,4.71238898038469,4.97418836818384,5.235987755982989,5.497787143782138,5.759586531581287,6.021385919380437,6.283185307179586]
10+
"line": {"width": 40}
11+
},
12+
{
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}
20+
},
21+
{
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}
29+
},
30+
{
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"}
1038
}
39+
1140
],
1241
"layout": {
13-
"width": 400,
42+
"width": 800,
1443
"height": 800,
1544
"scene": {
1645
"camera": {
1746
"eye": {
18-
"x": 1.5,
47+
"x": 0.0,
1948
"y": 0.0,
20-
"z": -1.5
49+
"z": -2.0
2150
},
2251
"center": {
2352
"x": 0.0,

0 commit comments

Comments
 (0)