Skip to content

Commit dab2fe6

Browse files
author
Les Moffat
committed
fix(demos): update demos
1 parent 688c244 commit dab2fe6

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

demos/07-spacebox.html

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,37 @@
4444
// color: "red",
4545
// },
4646
halo: true,
47-
// space: true,
47+
space: true,
4848
space: {
4949
color: "#111122",
50-
// path: {
51-
// baseUrl: "spacebox/transparent",
52-
// format: "png", //defaults to png
53-
// },
50+
// path: {
51+
// baseUrl: "spacebox/transparent",
52+
// format: "png", //defaults to png
53+
// },
5454
// OR
5555
// faces: {
56-
// pX: '/som-path-to-an-image/pX',
57-
// nX: '/som-path-to-an-image/nX',
58-
// pY: '/som-path-to-an-image/pY',
59-
// nY: '/som-path-to-an-image/nY',
60-
// pZ: '/som-path-to-an-image/pZ',
61-
// nZ: '/som-path-to-an-image/nZ'
62-
// };
56+
// pX: '/som-path-to-an-image/pX.png',
57+
// nX: '/som-path-to-an-image/nX.png',
58+
// pY: '/som-path-to-an-image/pY.png',
59+
// nY: '/som-path-to-an-image/nY.png',
60+
// pZ: '/som-path-to-an-image/pZ.png',
61+
// nZ: '/som-path-to-an-image/nZ.png'
62+
// },
6363
// OR
64-
// preset?: "universe-dark";
64+
// preset: "universe-dark"
6565
},
6666
// halo: {
6767
// scale: 1,
6868
// stops: [
69-
// [0.0, "transparent"],
70-
// [0.2, "skyblue"],
71-
// [0.3, "transparent"]
69+
// [0.2, "transparent"],
70+
// [0.2, "red"],
71+
// [0.4, "red"],
72+
// [0.4, "transparent"],
73+
// [0.6, "transparent"],
74+
// [0.6, "red"],
75+
// [0.8, "red"],
76+
// [0.8, "transparent"],
77+
// [1.0, "transparent"],
7278
// ],
7379
// }
7480
});

0 commit comments

Comments
 (0)