Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6679f8

Browse files
committed
Add gl3d colorscale mock and baseline
1 parent 5dc63d5 commit f6679f8

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
41.5 KB
Loading
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"data": [
3+
{
4+
"type":"mesh3d",
5+
"y":[0, 0, 1, 2],
6+
"x":[0, 1, 2, 0],
7+
"z":[0, 2, 0, 1],
8+
"i":[0, 0, 0, 1],
9+
"j":[1, 2, 3, 2],
10+
"k":[2, 3, 1, 3],
11+
"colorscale": [
12+
[0, "rgb(0, 0, 0)"],
13+
[0.33, "rgb(255, 0, 0)"],
14+
[0.66, "rgb(0, 255, 0)"],
15+
[1, "rgb(0, 0, 255)"]
16+
],
17+
"intensity": [0, 0.33, 0.66, 1]
18+
}],
19+
"layout": {
20+
"title": "Tetrahedra Custom Colorscale"
21+
}
22+
}

0 commit comments

Comments
 (0)