matrix-engine-wgpu 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/.codesandbox/tasks.json +0 -46
- package/.devcontainer/devcontainer.json +0 -22
- package/.github/dependabot.yml +0 -12
- package/REFERENCE.md +0 -59
- package/app-worker.js +0 -45
- package/dev.md +0 -460
- package/empty.js +0 -13
- package/examples/games/jamb/html-content.js +0 -128
- package/examples/games/jamb/jamb.js +0 -1340
- package/examples/games/jamb/readme.md +0 -3
- package/examples/load-obj-file.js +0 -78
- package/examples/unlit-textures.js +0 -31
- package/examples.js +0 -39
- package/main.js +0 -635
- package/non-project-files/cubebuffer-example.js +0 -51
- package/non-project-files/dev.txt +0 -21
- package/non-project-files/image1.png +0 -0
- package/non-project-files/image6.png +0 -0
- package/public/ammojs/ammo.js +0 -957
- package/public/ammojs/ammo.wasm.js +0 -921
- package/public/ammojs/ammo.wasm.wasm +0 -0
- package/public/app-worker.js +0 -47
- package/public/app.js +0 -12502
- package/public/css/style.css +0 -710
- package/public/empty.html +0 -25
- package/public/empty.js +0 -10387
- package/public/examples.html +0 -27
- package/public/examples.js +0 -11946
- package/public/index.html +0 -20
- package/public/manifest copy.web +0 -35
- package/public/manifest.web +0 -25
- package/public/res/audios/block.mp3 +0 -0
- package/public/res/audios/dice-roll.mp3 +0 -0
- package/public/res/audios/dice1.mp3 +0 -0
- package/public/res/audios/dice2.mp3 +0 -0
- package/public/res/audios/kenney/Kenney.url +0 -2
- package/public/res/audios/kenney/License.txt +0 -22
- package/public/res/audios/kenney/Patreon.url +0 -2
- package/public/res/audios/kenney/audios/back_001.ogg +0 -0
- package/public/res/audios/kenney/audios/back_002.ogg +0 -0
- package/public/res/audios/kenney/audios/back_003.ogg +0 -0
- package/public/res/audios/kenney/audios/back_004.ogg +0 -0
- package/public/res/audios/kenney/audios/bong_001.ogg +0 -0
- package/public/res/audios/kenney/audios/click_001.ogg +0 -0
- package/public/res/audios/kenney/audios/click_002.ogg +0 -0
- package/public/res/audios/kenney/audios/click_003.ogg +0 -0
- package/public/res/audios/kenney/audios/click_004.ogg +0 -0
- package/public/res/audios/kenney/audios/click_005.ogg +0 -0
- package/public/res/audios/kenney/audios/close_001.ogg +0 -0
- package/public/res/audios/kenney/audios/close_002.ogg +0 -0
- package/public/res/audios/kenney/audios/close_003.ogg +0 -0
- package/public/res/audios/kenney/audios/close_004.ogg +0 -0
- package/public/res/audios/kenney/audios/confirmation_001.ogg +0 -0
- package/public/res/audios/kenney/audios/confirmation_002.ogg +0 -0
- package/public/res/audios/kenney/audios/confirmation_003.ogg +0 -0
- package/public/res/audios/kenney/audios/confirmation_004.ogg +0 -0
- package/public/res/audios/kenney/audios/drop_001.ogg +0 -0
- package/public/res/audios/kenney/audios/drop_002.ogg +0 -0
- package/public/res/audios/kenney/audios/drop_003.ogg +0 -0
- package/public/res/audios/kenney/audios/drop_004.ogg +0 -0
- package/public/res/audios/kenney/audios/error_001.ogg +0 -0
- package/public/res/audios/kenney/audios/error_002.ogg +0 -0
- package/public/res/audios/kenney/audios/error_003.ogg +0 -0
- package/public/res/audios/kenney/audios/error_004.ogg +0 -0
- package/public/res/audios/kenney/audios/error_005.ogg +0 -0
- package/public/res/audios/kenney/audios/error_006.ogg +0 -0
- package/public/res/audios/kenney/audios/error_007.ogg +0 -0
- package/public/res/audios/kenney/audios/error_008.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_001.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_002.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_003.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_004.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_005.ogg +0 -0
- package/public/res/audios/kenney/audios/glass_006.ogg +0 -0
- package/public/res/audios/kenney/audios/glitch_001.ogg +0 -0
- package/public/res/audios/kenney/audios/glitch_002.ogg +0 -0
- package/public/res/audios/kenney/audios/glitch_003.ogg +0 -0
- package/public/res/audios/kenney/audios/glitch_004.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_001.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_002.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_003.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_004.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_005.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_006.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_007.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_008.ogg +0 -0
- package/public/res/audios/kenney/audios/maximize_009.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_001.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_002.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_003.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_004.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_005.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_006.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_007.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_008.ogg +0 -0
- package/public/res/audios/kenney/audios/minimize_009.ogg +0 -0
- package/public/res/audios/kenney/audios/open_001.ogg +0 -0
- package/public/res/audios/kenney/audios/open_002.ogg +0 -0
- package/public/res/audios/kenney/audios/open_003.ogg +0 -0
- package/public/res/audios/kenney/audios/open_004.ogg +0 -0
- package/public/res/audios/kenney/audios/pluck_001.ogg +0 -0
- package/public/res/audios/kenney/audios/pluck_002.ogg +0 -0
- package/public/res/audios/kenney/audios/question_001.ogg +0 -0
- package/public/res/audios/kenney/audios/question_002.ogg +0 -0
- package/public/res/audios/kenney/audios/question_003.ogg +0 -0
- package/public/res/audios/kenney/audios/question_004.ogg +0 -0
- package/public/res/audios/kenney/audios/scratch_001.ogg +0 -0
- package/public/res/audios/kenney/audios/scratch_002.ogg +0 -0
- package/public/res/audios/kenney/audios/scratch_003.ogg +0 -0
- package/public/res/audios/kenney/audios/scratch_004.ogg +0 -0
- package/public/res/audios/kenney/audios/scratch_005.ogg +0 -0
- package/public/res/audios/kenney/audios/scroll_001.ogg +0 -0
- package/public/res/audios/kenney/audios/scroll_002.ogg +0 -0
- package/public/res/audios/kenney/audios/scroll_003.ogg +0 -0
- package/public/res/audios/kenney/audios/scroll_004.ogg +0 -0
- package/public/res/audios/kenney/audios/scroll_005.ogg +0 -0
- package/public/res/audios/kenney/audios/select_001.ogg +0 -0
- package/public/res/audios/kenney/audios/select_002.ogg +0 -0
- package/public/res/audios/kenney/audios/select_003.ogg +0 -0
- package/public/res/audios/kenney/audios/select_004.ogg +0 -0
- package/public/res/audios/kenney/audios/select_005.ogg +0 -0
- package/public/res/audios/kenney/audios/select_006.ogg +0 -0
- package/public/res/audios/kenney/audios/select_007.ogg +0 -0
- package/public/res/audios/kenney/audios/select_008.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_001.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_002.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_003.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_004.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_005.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_006.ogg +0 -0
- package/public/res/audios/kenney/audios/switch_007.ogg +0 -0
- package/public/res/audios/kenney/audios/tick_001.ogg +0 -0
- package/public/res/audios/kenney/audios/tick_002.ogg +0 -0
- package/public/res/audios/kenney/audios/tick_004.ogg +0 -0
- package/public/res/audios/kenney/audios/toggle_001.ogg +0 -0
- package/public/res/audios/kenney/audios/toggle_002.ogg +0 -0
- package/public/res/audios/kenney/audios/toggle_003.ogg +0 -0
- package/public/res/audios/kenney/audios/toggle_004.ogg +0 -0
- package/public/res/audios/start.mp3 +0 -0
- package/public/res/audios/toggle_002.mp3 +0 -0
- package/public/res/fonts/Accuratist.ttf +0 -0
- package/public/res/fonts/Closeness.ttf +0 -0
- package/public/res/fonts/WARGAMES.TTF +0 -0
- package/public/res/fonts/readme.txt +0 -5
- package/public/res/fonts/stormfaze.ttf +0 -0
- package/public/res/icons/512.png +0 -0
- package/public/res/icons/webgpu-horizontal.svg +0 -45
- package/public/res/meshes/blender/cube.blend +0 -0
- package/public/res/meshes/blender/cube.blend1 +0 -0
- package/public/res/meshes/blender/cube.mtl +0 -12
- package/public/res/meshes/blender/cube.obj +0 -46
- package/public/res/meshes/blender/cube.png +0 -0
- package/public/res/meshes/blender/cubeSmartUV.blend +0 -0
- package/public/res/meshes/blender/cubeSmartUV.mtl +0 -12
- package/public/res/meshes/blender/cubeSmartUV.obj +0 -46
- package/public/res/meshes/blender/lopta.mtl +0 -10
- package/public/res/meshes/blender/lopta.obj +0 -3402
- package/public/res/meshes/blender/piramyd.blend +0 -0
- package/public/res/meshes/blender/piramyd.blend1 +0 -0
- package/public/res/meshes/blender/piramyd.js +0 -42
- package/public/res/meshes/blender/piramyd.mtl +0 -10
- package/public/res/meshes/blender/piramyd.obj +0 -18696
- package/public/res/meshes/blender/piramyd1.js +0 -42
- package/public/res/meshes/blender/sphepe.blend +0 -0
- package/public/res/meshes/blender/sphepe.blend1 +0 -0
- package/public/res/meshes/blender/sphere.mtl +0 -10
- package/public/res/meshes/blender/sphere.obj +0 -3402
- package/public/res/meshes/blender/welcomeTextblend.blend +0 -0
- package/public/res/meshes/dragon/stanfordDragonData.js +0 -5
- package/public/res/meshes/jamb/bg.blend +0 -0
- package/public/res/meshes/jamb/bg.blend1 +0 -0
- package/public/res/meshes/jamb/bg.mtl +0 -12
- package/public/res/meshes/jamb/bg.obj +0 -17
- package/public/res/meshes/jamb/bg.png +0 -0
- package/public/res/meshes/jamb/dice-default.png +0 -0
- package/public/res/meshes/jamb/dice-mark.png +0 -0
- package/public/res/meshes/jamb/dice.mtl +0 -12
- package/public/res/meshes/jamb/dice.obj +0 -40
- package/public/res/meshes/jamb/dice.png +0 -0
- package/public/res/meshes/jamb/jamb-title.mtl +0 -12
- package/public/res/meshes/jamb/jamb-title.obj +0 -26008
- package/public/res/meshes/jamb/jamb.blend +0 -0
- package/public/res/meshes/jamb/jamb.blend1 +0 -0
- package/public/res/meshes/jamb/logo.png +0 -0
- package/public/res/meshes/jamb/nidzaDice.blend +0 -0
- package/public/res/meshes/jamb/nidzaDice.blend1 +0 -0
- package/public/res/meshes/jamb/pile.blend +0 -0
- package/public/res/meshes/jamb/simpleCube.blend +0 -0
- package/public/res/meshes/jamb/simpleCube.blend1 +0 -0
- package/public/res/meshes/jamb/sounds/roll1.wav +0 -0
- package/public/res/meshes/jamb/text.png +0 -0
- package/public/res/meshes/obj/armor.obj +0 -319
- package/public/res/meshes/obj/armor.png +0 -0
- package/public/res/meshes/shapes/star1.obj +0 -60
- package/public/res/multilang/en.json +0 -39
- package/public/res/multilang/sr.json +0 -39
- package/public/res/textures/default.png +0 -0
- package/public/res/textures/rust.jpg +0 -0
- package/public/res/textures/tex1.jpg +0 -0
- package/public/test.html +0 -636
- package/public/three-test.js +0 -165
- package/public/worker.html +0 -25
package/public/css/style.css
DELETED
|
@@ -1,710 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: stormfaze;
|
|
3
|
-
src: url(../../public/res/fonts/stormfaze.ttf);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@font-face {
|
|
7
|
-
font-family: wargames;
|
|
8
|
-
src: url(../../public/res/fonts/wargames.ttf);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body {
|
|
12
|
-
color: white;
|
|
13
|
-
background-color: #95003d;
|
|
14
|
-
font-family: "stormfaze";
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
text-align: center;
|
|
20
|
-
|
|
21
|
-
-webkit-user-select: none;
|
|
22
|
-
/* Safari */
|
|
23
|
-
-ms-user-select: none;
|
|
24
|
-
/* IE 10 and IE 11 */
|
|
25
|
-
user-select: none;
|
|
26
|
-
/* Standard syntax */
|
|
27
|
-
|
|
28
|
-
-webkit-text-stroke-width: 1px;
|
|
29
|
-
-webkit-text-stroke-color: rgba(0, 0, 0, 0.575);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.meBody {
|
|
33
|
-
font-family: stormfaze;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.noselection {
|
|
37
|
-
-webkit-touch-callout: none;
|
|
38
|
-
/* Safari */
|
|
39
|
-
user-select: none;
|
|
40
|
-
/* standard syntax */
|
|
41
|
-
-webkit-user-select: none;
|
|
42
|
-
/* webkit (safari, chrome) browsers */
|
|
43
|
-
-moz-user-select: none;
|
|
44
|
-
/* mozilla browsers */
|
|
45
|
-
-khtml-user-select: none;
|
|
46
|
-
/* webkit (konqueror) browsers */
|
|
47
|
-
-ms-user-select: none;
|
|
48
|
-
/* IE10+ */
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
*::-webkit-media-controls-panel {
|
|
52
|
-
display: none !important;
|
|
53
|
-
-webkit-appearance: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Old shadow dom for play button */
|
|
57
|
-
*::-webkit-media-controls-play-button {
|
|
58
|
-
display: none !important;
|
|
59
|
-
-webkit-appearance: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* This one works! */
|
|
63
|
-
*::-webkit-media-controls-start-playback-button {
|
|
64
|
-
display: none !important;
|
|
65
|
-
-webkit-appearance: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
::-webkit-scrollbar {
|
|
69
|
-
width: 5px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
::-webkit-scrollbar-track {
|
|
73
|
-
box-shadow: inset 0 0 5px rgb(102, 102, 102);
|
|
74
|
-
border-radius: 8px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
body::-webkit-scrollbar-thumb {
|
|
78
|
-
background: rgba(0, 0, 0, 0.1);
|
|
79
|
-
border-radius: 9px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
body::-webkit-scrollbar-thumb:hover {
|
|
83
|
-
background: rgba(0, 0, 0, 0.6);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
textarea:focus,
|
|
88
|
-
input:focus {
|
|
89
|
-
outline: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
a {
|
|
93
|
-
font-family: stormfaze;
|
|
94
|
-
color: #0080ff;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
button {
|
|
98
|
-
font-family: stormfaze;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
iframe {
|
|
102
|
-
border: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.noselect {
|
|
106
|
-
-webkit-touch-callout: none;
|
|
107
|
-
/* iOS Safari */
|
|
108
|
-
-webkit-user-select: none;
|
|
109
|
-
/* Safari */
|
|
110
|
-
-khtml-user-select: none;
|
|
111
|
-
/* Konqueror HTML */
|
|
112
|
-
-moz-user-select: none;
|
|
113
|
-
/* Old versions of Firefox */
|
|
114
|
-
-ms-user-select: none;
|
|
115
|
-
/* Internet Explorer/Edge */
|
|
116
|
-
user-select: none;
|
|
117
|
-
/* Non-prefixed version, currently
|
|
118
|
-
supported by Chrome, Edge, Opera and Firefox */
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
#matrix-editor {
|
|
122
|
-
position: absolute;
|
|
123
|
-
left: 0;
|
|
124
|
-
top: 0;
|
|
125
|
-
width: 400px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.debugBox {
|
|
129
|
-
position: absolute;
|
|
130
|
-
left: 5px;
|
|
131
|
-
bottom: 0;
|
|
132
|
-
font-size: 12px;
|
|
133
|
-
width: 200px;
|
|
134
|
-
height: 15px;
|
|
135
|
-
background-color: black;
|
|
136
|
-
color: lime;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.textEditor {
|
|
140
|
-
font-size: 10px;
|
|
141
|
-
width: 100%;
|
|
142
|
-
max-width: 850px !important;
|
|
143
|
-
min-width: 550px !important;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
div {
|
|
147
|
-
cursor: default;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.header {
|
|
151
|
-
text-shadow: 0px 0px 14px #ffd52e;
|
|
152
|
-
background-color: black;
|
|
153
|
-
color: rgb(255, 255, 255);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
textarea {
|
|
157
|
-
-webkit-box-shadow: inset 0px 0px 22px 2px rgba(0, 255, 30, 1);
|
|
158
|
-
-moz-box-shadow: inset 0px 0px 22px 2px rgba(0, 255, 30, 1);
|
|
159
|
-
box-shadow: inset 0px 0px 22px 1px rgba(0, 255, 30, 1);
|
|
160
|
-
background-color: black;
|
|
161
|
-
color: lime;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.textureCanvas2d {
|
|
165
|
-
display: none;
|
|
166
|
-
position: absolute;
|
|
167
|
-
left: -3000px;
|
|
168
|
-
top: 0px;
|
|
169
|
-
width: 512px;
|
|
170
|
-
height: 512px;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/** Style for UI system hud controls */
|
|
174
|
-
|
|
175
|
-
.matrixTagHolder {
|
|
176
|
-
display: flex;
|
|
177
|
-
flex-direction: column;
|
|
178
|
-
position: absolute;
|
|
179
|
-
left: 0;
|
|
180
|
-
top: 0;
|
|
181
|
-
background-color: black;
|
|
182
|
-
color: #0080ff;
|
|
183
|
-
font-family: stormfaze;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
span {
|
|
187
|
-
cursor: inherit;
|
|
188
|
-
width: 100px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.mLightInput {
|
|
192
|
-
width: 150px;
|
|
193
|
-
font-size: 26px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.mLightCom {
|
|
197
|
-
display: flex;
|
|
198
|
-
flex-direction: row;
|
|
199
|
-
text-align: center;
|
|
200
|
-
align-items: center;
|
|
201
|
-
border: solid #0c2540 3px;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
#matrix-net {
|
|
205
|
-
position: absolute;
|
|
206
|
-
display: none;
|
|
207
|
-
right: 0;
|
|
208
|
-
height: 100%;
|
|
209
|
-
width: 40vh;
|
|
210
|
-
font-family: stormfaze;
|
|
211
|
-
background-color: crimson;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.timeLine {
|
|
215
|
-
display: flex;
|
|
216
|
-
position: absolute;
|
|
217
|
-
left: 5%;
|
|
218
|
-
top: 85%;
|
|
219
|
-
width: 90%;
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
.timeLineSlider {
|
|
225
|
-
display: flex;
|
|
226
|
-
flex-direction: row;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.timeLineSlider,
|
|
230
|
-
p {
|
|
231
|
-
background: rgba(12, 122, 22, 0.5);
|
|
232
|
-
width: 100%;
|
|
233
|
-
margin: 5px 5px 5px 5px;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* For animation Line */
|
|
237
|
-
.slider {
|
|
238
|
-
-webkit-appearance: none;
|
|
239
|
-
width: 100%;
|
|
240
|
-
height: 15px;
|
|
241
|
-
border-radius: 5px;
|
|
242
|
-
background: #d3d3d3;
|
|
243
|
-
outline: none;
|
|
244
|
-
opacity: 0.7;
|
|
245
|
-
-webkit-transition: .2s;
|
|
246
|
-
transition: opacity .2s;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.slider::-webkit-slider-thumb {
|
|
250
|
-
-webkit-appearance: none;
|
|
251
|
-
appearance: none;
|
|
252
|
-
width: 25px;
|
|
253
|
-
height: 25px;
|
|
254
|
-
border-radius: 50%;
|
|
255
|
-
background: #04AA6D;
|
|
256
|
-
cursor: pointer;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.slider::-moz-range-thumb {
|
|
260
|
-
width: 25px;
|
|
261
|
-
height: 25px;
|
|
262
|
-
border-radius: 50%;
|
|
263
|
-
background: #04AA6D;
|
|
264
|
-
cursor: pointer;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.btn {
|
|
268
|
-
font-family: 'Orbitron', sans-serif;
|
|
269
|
-
font-weight: 600;
|
|
270
|
-
font-size: 16px;
|
|
271
|
-
color: #00ffff;
|
|
272
|
-
text-transform: uppercase;
|
|
273
|
-
letter-spacing: 1.5px;
|
|
274
|
-
padding: 12px 24px;
|
|
275
|
-
background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
|
|
276
|
-
border: 2px solid #00ffff;
|
|
277
|
-
border-radius: 12px;
|
|
278
|
-
box-shadow: 0 0 10px #00ffff44, 0 0 20px #00ffff22 inset;
|
|
279
|
-
cursor: pointer;
|
|
280
|
-
transition: all 0.25s ease-in-out;
|
|
281
|
-
display: inline-block;
|
|
282
|
-
text-align: center;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.btn:hover {
|
|
286
|
-
background: #00ffff22;
|
|
287
|
-
box-shadow: 0 0 20px #00ffffaa, 0 0 30px #00ffff55 inset;
|
|
288
|
-
color: #ffffff;
|
|
289
|
-
transform: scale(1.05);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.btn span::before {
|
|
293
|
-
content: '▶ ';
|
|
294
|
-
color: #00ffffaa;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.fancy-label {
|
|
298
|
-
font-family: 'Orbitron', sans-serif;
|
|
299
|
-
font-weight: 500;
|
|
300
|
-
font-size: 14px;
|
|
301
|
-
color: #00ffff;
|
|
302
|
-
letter-spacing: 1px;
|
|
303
|
-
text-shadow: 0 0 4px #00ffffaa;
|
|
304
|
-
padding: 2px 6px;
|
|
305
|
-
background-color: #111111cc;
|
|
306
|
-
border: 1px solid #00ffff66;
|
|
307
|
-
border-radius: 6px;
|
|
308
|
-
box-shadow: 0 0 6px #00ffff33;
|
|
309
|
-
display: inline-block;
|
|
310
|
-
user-select: none;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.fancy-title {
|
|
314
|
-
width: 100%;
|
|
315
|
-
font-family: 'Orbitron', sans-serif;
|
|
316
|
-
font-weight: 700;
|
|
317
|
-
font-size: 32px;
|
|
318
|
-
color: #00ffff;
|
|
319
|
-
text-transform: uppercase;
|
|
320
|
-
letter-spacing: 2px;
|
|
321
|
-
background: transparent;
|
|
322
|
-
text-shadow: 0 0 4px #00ffffaa, 0 0 8px #00ffff55;
|
|
323
|
-
border: none;
|
|
324
|
-
padding: 8px 16px;
|
|
325
|
-
display: inline-block;
|
|
326
|
-
user-select: none;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.btn2 {
|
|
330
|
-
cursor: pointer;
|
|
331
|
-
background: #d93434;
|
|
332
|
-
background-image: -webkit-linear-gradient(top, orangered, #0a027a);
|
|
333
|
-
background-image: -moz-linear-gradient(top, orangered, #0a027a);
|
|
334
|
-
background-image: -ms-linear-gradient(top, orangered, #0a027a);
|
|
335
|
-
background-image: -o-linear-gradient(top, orangered, #0a027a);
|
|
336
|
-
background-image: linear-gradient(to bottom, orangered, #0a027a);
|
|
337
|
-
-webkit-border-radius: 28;
|
|
338
|
-
-moz-border-radius: 28;
|
|
339
|
-
border-radius: 28px;
|
|
340
|
-
text-shadow: 0px 0px 14px #ffd52e;
|
|
341
|
-
-webkit-box-shadow: 0px 1px 26px #666666;
|
|
342
|
-
-moz-box-shadow: 0px 1px 26px #666666;
|
|
343
|
-
box-shadow: 0px 1px 26px #666666;
|
|
344
|
-
color: #ffffff;
|
|
345
|
-
font-size: 13px;
|
|
346
|
-
padding: 4px 8px 4px 8px;
|
|
347
|
-
text-decoration: none;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.btn2:hover {
|
|
351
|
-
background: #0a027a;
|
|
352
|
-
background-image: -webkit-linear-gradient(top, #0a027a, #6e34d9);
|
|
353
|
-
background-image: -moz-linear-gradient(top, #0a027a, #6e34d9);
|
|
354
|
-
background-image: -ms-linear-gradient(top, #0a027a, #6e34d9);
|
|
355
|
-
background-image: -o-linear-gradient(top, #0a027a, #6e34d9);
|
|
356
|
-
background-image: linear-gradient(to bottom, #0a027a, #6e34d9);
|
|
357
|
-
text-decoration: none;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
#blocker {
|
|
361
|
-
z-index: 2;
|
|
362
|
-
flex-direction: column;
|
|
363
|
-
position: absolute;
|
|
364
|
-
left: 0;
|
|
365
|
-
top: 0;
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: 100%;
|
|
368
|
-
display: flex;
|
|
369
|
-
|
|
370
|
-
background: linear-gradient(291deg, #2960bb, #b22710, #b22710);
|
|
371
|
-
background-size: 600% 600%;
|
|
372
|
-
|
|
373
|
-
-webkit-animation: bganim 10s ease infinite;
|
|
374
|
-
-moz-animation: bganim 10s ease infinite;
|
|
375
|
-
-o-animation: bganim 10s ease infinite;
|
|
376
|
-
animation: bganim 10s ease infinite;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
#messageBox {
|
|
380
|
-
font-size: large;
|
|
381
|
-
padding: 10%;
|
|
382
|
-
align-items: center;
|
|
383
|
-
text-align: center;
|
|
384
|
-
vertical-align: middle;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
#msgBox {
|
|
388
|
-
text-shadow: 0px 4px 4px #282828;
|
|
389
|
-
-webkit-user-select: none;
|
|
390
|
-
/* Safari */
|
|
391
|
-
-ms-user-select: none;
|
|
392
|
-
/* IE 10 and IE 11 */
|
|
393
|
-
user-select: none;
|
|
394
|
-
/* Standard syntax */
|
|
395
|
-
background: rgb(2, 0, 36);
|
|
396
|
-
background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 81, 121, 0.8463760504201681) 34%, rgba(0, 212, 255, 1) 100%);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.msg-box {
|
|
400
|
-
display: none;
|
|
401
|
-
position: absolute;
|
|
402
|
-
top: 30px;
|
|
403
|
-
left: 50%;
|
|
404
|
-
translate: -50%;
|
|
405
|
-
border-radius: 6px !important;
|
|
406
|
-
font-size: 15px !important;
|
|
407
|
-
width: 300px;
|
|
408
|
-
padding: 10px;
|
|
409
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
410
|
-
|
|
411
|
-
&.error {
|
|
412
|
-
/* background-color: rgb(93, 4, 5); */
|
|
413
|
-
color: rgb(255, 0, 30);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
&.success {
|
|
417
|
-
/* background-color: rgb(220, 14, 14); */
|
|
418
|
-
color: rgb(32, 255, 84);
|
|
419
|
-
text-align: center;
|
|
420
|
-
margin-left: -150px;
|
|
421
|
-
z-index: 20;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.canPlay {
|
|
426
|
-
border: solid limegreen 1px;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.canNotPlay {
|
|
430
|
-
border: unset;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
.myTheme1 {
|
|
435
|
-
background: rgb(235, 1, 110);
|
|
436
|
-
background: radial-gradient(circle, rgb(255, 73, 179) 7%, rgba(0, 144, 224, 0.9332107843137255) 57%, rgba(0, 212, 255, 1) 85%);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.stroke {
|
|
440
|
-
|
|
441
|
-
text-shadow: 0px 4px 4px #282828;
|
|
442
|
-
|
|
443
|
-
-webkit-text-stroke-width: 1px;
|
|
444
|
-
-webkit-text-stroke-color: black;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.animate1 {
|
|
448
|
-
text-shadow: 0px 4px 4px #282828;
|
|
449
|
-
-webkit-text-stroke-width: 1px;
|
|
450
|
-
-webkit-text-stroke-color: black;
|
|
451
|
-
|
|
452
|
-
background: linear-gradient(270deg, #ff0270, #02c5ff);
|
|
453
|
-
background-size: 50% 50%;
|
|
454
|
-
|
|
455
|
-
-webkit-animation: AnimationName 2s ease infinite;
|
|
456
|
-
-moz-animation: AnimationName 2s ease infinite;
|
|
457
|
-
animation: AnimationName 2s ease infinite;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
@-webkit-keyframes AnimationName {
|
|
461
|
-
0% {
|
|
462
|
-
background-position: 0% 50%
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
50% {
|
|
466
|
-
background-position: 100% 50%
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
100% {
|
|
470
|
-
background-position: 0% 50%
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
@-moz-keyframes AnimationName {
|
|
475
|
-
0% {
|
|
476
|
-
background-position: 0% 50%
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
50% {
|
|
480
|
-
background-position: 100% 50%
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
100% {
|
|
484
|
-
background-position: 0% 50%
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
@keyframes AnimationName {
|
|
489
|
-
0% {
|
|
490
|
-
background-position: 0% 50%
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
50% {
|
|
494
|
-
background-position: 100% 50%
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
100% {
|
|
498
|
-
background-position: 0% 50%
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
.bganim1 {
|
|
504
|
-
background: linear-gradient(291deg, #2960bb, #b22710, #b22710);
|
|
505
|
-
background-size: 600% 600%;
|
|
506
|
-
|
|
507
|
-
-webkit-animation: bganim 10s ease infinite;
|
|
508
|
-
-moz-animation: bganim 10s ease infinite;
|
|
509
|
-
-o-animation: bganim 10s ease infinite;
|
|
510
|
-
animation: bganim 10s ease infinite;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
@-webkit-keyframes bganim {
|
|
514
|
-
0% {
|
|
515
|
-
background-position: 0% 45%
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
50% {
|
|
519
|
-
background-position: 100% 56%
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
100% {
|
|
523
|
-
background-position: 0% 45%
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
@-moz-keyframes bganim {
|
|
528
|
-
0% {
|
|
529
|
-
background-position: 0% 45%
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
50% {
|
|
533
|
-
background-position: 100% 56%
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
100% {
|
|
537
|
-
background-position: 0% 45%
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
@-o-keyframes bganim {
|
|
542
|
-
0% {
|
|
543
|
-
background-position: 0% 45%
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
50% {
|
|
547
|
-
background-position: 100% 56%
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
100% {
|
|
551
|
-
background-position: 0% 45%
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
@keyframes bganim {
|
|
556
|
-
0% {
|
|
557
|
-
background-position: 0% 45%
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
50% {
|
|
561
|
-
background-position: 100% 56%
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
100% {
|
|
565
|
-
background-position: 0% 45%
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.switch {
|
|
570
|
-
position: relative;
|
|
571
|
-
display: inline-block;
|
|
572
|
-
width: 60px;
|
|
573
|
-
/* You can adjust */
|
|
574
|
-
height: 32px;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.switch input {
|
|
578
|
-
opacity: 0;
|
|
579
|
-
width: 0;
|
|
580
|
-
height: 0;
|
|
581
|
-
position: absolute;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/* Force span to fill the label exactly */
|
|
585
|
-
.sliderSwitch {
|
|
586
|
-
position: absolute;
|
|
587
|
-
top: 0;
|
|
588
|
-
left: 0;
|
|
589
|
-
width: 100%;
|
|
590
|
-
height: 100%;
|
|
591
|
-
display: block;
|
|
592
|
-
background-color: #111;
|
|
593
|
-
border-radius: 34px;
|
|
594
|
-
border: 2px solid #00ffee;
|
|
595
|
-
box-shadow: 0 0 10px #00ffee55;
|
|
596
|
-
transition: all 0.4s ease;
|
|
597
|
-
overflow: hidden;
|
|
598
|
-
z-index: 1;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/* The circle inside the slider */
|
|
602
|
-
.sliderSwitch::before {
|
|
603
|
-
content: "";
|
|
604
|
-
position: absolute;
|
|
605
|
-
width: 24px;
|
|
606
|
-
height: 24px;
|
|
607
|
-
left: 4px;
|
|
608
|
-
bottom: 4px;
|
|
609
|
-
background-color: #00bbff;
|
|
610
|
-
border-radius: 50%;
|
|
611
|
-
transition: transform 0.4s ease;
|
|
612
|
-
z-index: 2;
|
|
613
|
-
box-shadow: 0 0 10px #00bbff;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/* ON state */
|
|
617
|
-
.switch input:checked+.sliderSwitch {
|
|
618
|
-
background-color: #002233;
|
|
619
|
-
border-color: #00ffee;
|
|
620
|
-
box-shadow: 0 0 12px #00ffee;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.switch input:checked+.sliderSwitch::before {
|
|
624
|
-
transform: translateX(28px);
|
|
625
|
-
background-color: #00ffee;
|
|
626
|
-
box-shadow: 0 0 10px #00ffee;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
select {
|
|
630
|
-
appearance: none;
|
|
631
|
-
/* Remove default arrow */
|
|
632
|
-
background-color: #111;
|
|
633
|
-
color: #00ffee;
|
|
634
|
-
border: 2px solid #00ffee55;
|
|
635
|
-
border-radius: 8px;
|
|
636
|
-
padding: 8px 12px;
|
|
637
|
-
font-size: 16px;
|
|
638
|
-
font-family: 'Orbitron', sans-serif;
|
|
639
|
-
/* Optional futuristic font */
|
|
640
|
-
box-shadow: 0 0 8px #00ffee33;
|
|
641
|
-
outline: none;
|
|
642
|
-
transition: 0.3s ease;
|
|
643
|
-
cursor: pointer;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
select:hover {
|
|
647
|
-
border-color: #00ffee;
|
|
648
|
-
box-shadow: 0 0 12px #00ffeeaa;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
select:focus {
|
|
652
|
-
border-color: #00ff88;
|
|
653
|
-
box-shadow: 0 0 16px #00ff88aa;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
option {
|
|
657
|
-
background-color: #111;
|
|
658
|
-
color: #00ffee;
|
|
659
|
-
padding: 6px;
|
|
660
|
-
font-family: 'Orbitron', sans-serif;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
#jambTable {
|
|
664
|
-
position: absolute;
|
|
665
|
-
display: flex;
|
|
666
|
-
top: 15%;
|
|
667
|
-
left: 2%;
|
|
668
|
-
width: 370px;
|
|
669
|
-
transform: scale(1);
|
|
670
|
-
/* translate(-50%, -50%) */
|
|
671
|
-
background: rgba(0, 0, 0, 0.9);
|
|
672
|
-
border: 2px solid #0ff;
|
|
673
|
-
padding: 15px;
|
|
674
|
-
border-radius: 12px;
|
|
675
|
-
transform-origin: center center;
|
|
676
|
-
transition: transform 0.4s ease, opacity 0.3s ease;
|
|
677
|
-
font-family: 'Orbitron', sans-serif;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
/* Visible state */
|
|
681
|
-
#jambTable.show {
|
|
682
|
-
display: flex;
|
|
683
|
-
transform: scale(1);
|
|
684
|
-
/* translate(-50%, -50%) */
|
|
685
|
-
opacity: 1;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/* Hidden state */
|
|
689
|
-
#jambTable.hide {
|
|
690
|
-
transform: scale(0);
|
|
691
|
-
/* translate(-50%, -50%) */
|
|
692
|
-
opacity: 0;
|
|
693
|
-
pointer-events: none;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
#dragHandler {
|
|
697
|
-
width: 100%;
|
|
698
|
-
height: 20px;
|
|
699
|
-
background: #333;
|
|
700
|
-
cursor: move;
|
|
701
|
-
position: absolute;
|
|
702
|
-
top: 0;
|
|
703
|
-
left: 0;
|
|
704
|
-
z-index: 10;
|
|
705
|
-
opacity: 0.8;
|
|
706
|
-
color: white;
|
|
707
|
-
text-align: center;
|
|
708
|
-
font-size: 12px;
|
|
709
|
-
line-height: 20px;
|
|
710
|
-
}
|
package/public/empty.html
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="manifest" href="manifest.web" />
|
|
5
|
-
<title>Matrix Engine webGPU variant. Created by Nikola Lukic zlatnaspirala@gmail.com </title>
|
|
6
|
-
<meta name="description" content="The benefits of this project is offering an overview of the entire application logic, easy native implementations (hybrid app), object structural. " />
|
|
7
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
8
|
-
<link defer rel="stylesheet" href="css/style.css" />
|
|
9
|
-
<link rel="apple-touch-icon" href="res/icons/512.png" />
|
|
10
|
-
<meta name="mobile-web-app-capable" content="yes" />
|
|
11
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
12
|
-
<meta name="theme-color" content="#000000" />
|
|
13
|
-
<!-- <script defer src="./lib/gl-matrix-min.js"></script> -->
|
|
14
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimal-ui" />
|
|
15
|
-
<!-- <link rel="icon" type="image/png" sizes="96x96" href="res/icons/favicon-96x96.png" /> -->
|
|
16
|
-
<link rel="icon" type="image/png" sizes="512x512" href="res/icons/512.png" />
|
|
17
|
-
<!-- <link rel="icon" href="res/icons/favicon.ico" type="image/x-icon" /> -->
|
|
18
|
-
<!-- <meta name="msapplication-TileImage" content="res/icons/ms-icon.png" /> -->
|
|
19
|
-
<!-- <script src="https://webglfundamentals.org/webgl/resources/m4.js"></script> -->
|
|
20
|
-
</head>
|
|
21
|
-
<body allow="autoplay">
|
|
22
|
-
<div id="shaders"></div>
|
|
23
|
-
<script src="empty.js"></script>
|
|
24
|
-
</body>
|
|
25
|
-
</html>
|