forked from Quantumgames-inc/QuantumEngineStudio3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
337 lines (311 loc) · 12.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>QuantumStudioEngine</title>
<link rel="shortcut icon" href="favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!--Styles-->
<link rel="stylesheet" href="page/lib/bootstrap.min.css">
<link rel="stylesheet" href="page/style.css">
<!--Javascript-->
<script src="page/lib/jquery.min.js"></script>
<script src="page/lib/bootstrap.min.js"></script>
<!--App-->
<script type="text/javascript" src="build/runtime/nunu.min.js"></script>
<script type="text/javascript">
var app;
var canvas, header;
function initialize()
{
header = document.getElementById("header");
canvas = document.getElementById("canvas");
app = new Nunu.App(canvas);
var bar = document.getElementById("bar");
var onLoad = function()
{
bar.parentElement.style.visibility = "hidden";
};
var onProgress = function(event)
{
if(event.lengthComputable)
{
var progress = event.loaded / event.total * 100;
bar.style.width = progress + "%";
}
};
//Load and run nunu app
app.loadRunProgram("page/examples/files/nunu.nsp", onLoad, onProgress);
resize();
}
function resize()
{
canvas.width = header.offsetWidth;
canvas.height = header.offsetHeight;
app.resize();
}
</script>
</head>
<body onload="initialize();" onresize="resize();">
<!--Navigation bar-->
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<!--Mobile>-->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="logo" href="index.html"><img src="page/img/logo.png" width="230" alt="Logo"></a>
</div>
<!--Desktop-->
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">Home</a></li>
<li><a href="page/learn.html">Learn</a></li>
<li><a href="docs">API Documentation</a></li>
<li><a href="page/download.html">Download</a></li>
<li><a href="https://www.github.com/tentone/nunuStudio">GitHub</a></li>
</ul>
</div>
</div>
</div>
<!--Principal container container-->
<header id="header">
<!--Demo canvas-->
<canvas id="canvas" style="position:absolute; left:0%; top:0%; border:none"></canvas>
<!--Title and buttons-->
<div class="text-center" style="overflow:hidden; position:absolute; width:100%; bottom:25%">
<!--Description-->
<p class="lead noselect">
Create interactive experiences for your webpage!
<br/>
Design, edit, code, all in one place!
</p>
<!--Buttons-->
<div class="row">
<!--Github button-->
<div class="col-xs-6 text-right">
<a href="build/editor/index.html" class="btn btn-secondary btn-lg">Web Version</a>
</div>
<!--Download-->
<div class="col-xs-6 text-left">
<a href="page/download.html" class="btn btn-primary btn-lg">Download(coming soon)</a>
</div>
</div>
</div>
<!--Loading bar-->
<div style="position:absolute; width:50%; height:3%; left:25%; top:50%; border-style:solid; border-color:#FFFFFF; border-width:2px">
<div id="bar" style="position:absolute; width:0%; height:100%; left:0%; top:0%; background-color:#FFFFFF">
</div>
</header>
<!--Built on division-->
<section id="nunu" class="pad-sm">
<div class="container">
<div class="text-center">
<h2>Built on OpenSource</h2>
<a href="https://threejs.org/"><img src="page/img/logo/threejs.png" height="50"></img></a>
<a href="https://codemirror.net/"><img src="page/img/logo/codemirror.png" height="50"></img></a>
<a href="https://nwjs.io/"><img src="page/img/logo/nwjs.png" height="50"></img></a>
<img src="page/img/logo/js.jpg" height="50"></img>
<img src="page/img/logo/webgl.png" height="50"></img>
</div>
</div>
</section>
<!--Features-->
<section>
<div class="container">
<h2 class="black">Features</h2>
<div class="row">
<!--Graphical Editor-->
<div class="col-sm-3">
<h3>Graphical Editor</h3>
<p>Familiar user interface similar to the ones you already know.</p>
<img class="feature-img" src="page/img/screenshot/6.jpg"></img>
</div>
<!--Graphics-->
<div class="col-sm-3">
<h3>3D Graphics</h3>
<p>Graphics powered by three.js with dynamic ligths, shadows, post-processing, etc.</p>
<img class="feature-img" src="page/img/screenshot/8.jpg"></img>
</div>
<!--Physics-->
<div class="col-sm-3">
<h3>Physics</h3>
<p>Fully features 3D physics engine powered by cannon.js</p>
<img class="feature-img" src="page/img/screenshot/gif/1.gif"></img>
</div>
<!--JS Scripts-->
<div class="col-sm-3">
<h3>JS Scripts</h3>
<p>Easy to learn language, familiar for web and game developers.</p>
<img class="feature-img" src="page/img/screenshot/5.jpg"></img>
</div>
</div>
<div class="row">
<!--2D Mode-->
<div class="col-sm-3">
<h3>2D Mode</h3>
<p>Want 2D? No problem! Switch between 2D and 3D with the click of a button.</p>
<img class="feature-img" src="page/img/screenshot/7.jpg"></img>
</div>
<!--WebVR-->
<div class="col-sm-3">
<h3>WebVR</h3>
<p>Ready for web virtual reality, on mobile and desktop platforms.</p>
<img class="feature-img" src="page/img/webvr.jpg"></img>
</div>
<!--Materials-->
<div class="col-sm-3">
<h3>Advanced materials</h3>
<p>Graphical material editor similar to the ones found in 3D design tools.</p>
<img class="feature-img" src="page/img/screenshot/1.jpg"></img>
</div>
<!--Particle-->
<div class="col-sm-3">
<h3>Particles</h3>
<p>GPU accelerated particle system powered by SPE.</p>
<img class="feature-img" src="page/img/screenshot/2.jpg"></img>
</div>
</div>
<div class="row">
<!--Dragndrop-->
<div class="col-sm-3">
<h3>Drag and drop</h3>
<p>Drag and drop files into the editor, it just works.</p>
<img class="feature-img" src="page/img/screenshot/gif/2.gif"></img>
</div>
<!--Spine animations-->
<div class="col-sm-3">
<h3>Spine animations</h3>
<p>Create 2D animations using Esoteric spine animation tool and import them to nunuStudio.</p>
<img class="feature-img" src="page/img/screenshot/9.jpg"></img>
</div>
<!--WebAudio-->
<div class="col-sm-3">
<h3>WebAudio</h3>
<p>Audio engine built on top of web audio API with support for positional audio.</p>
<img class="feature-img" src="page/img/screenshot/10.jpg"></img>
</div>
<!--Multiplatform-->
<div class="col-sm-3">
<h3>Multi-platform editor</h3>
<p>QuantumStudioEngine was build on top of nwjs it works on windows, linux and OS X.<p>
<img class="feature-img" src="page/img/screenshot/3.jpg"></img>
</div>
</div>
</div>
<br/>
</section>
<!--Examples-->
<section id="examples">
<div class="container">
<h2 class="white">Made with <img height="38" src="page/img/logo.png"></img></h2>
<div class="row">
<!--nunu-->
<div class="col-sm-4">
<h3 class="white">QuantumStudioEngine</h3>
<p class="white">QuantumStudioEngine physically based rendering home screen demo.</p>
<a href="page/examples/demo.html?nsp=files/nunu.nsp"><img class="madewith-preview" src="page/examples/files/nunu.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/nunu.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Pong-->
<div class="col-sm-4">
<h3 class="white">Pong</h3>
<p class="white">3D recreationg of the classic pong game.</p>
<a href="page/examples/demo.html?nsp=files/pong.nsp"><img class="madewith-preview" src="page/examples/files/pong.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/pong.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Flappy Birds-->
<div class="col-sm-4">
<h3 class="white">Flappy Birds Clone</h3>
<p class="white">Clone of the mobile game flappy birds.</p>
<a href="page/examples/demo.html?nsp=files/flappy.nsp"><img class="madewith-preview" src="page/examples/files/flappy.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/flappy.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
</div>
<div class="row">
<!--Rollercoaster-->
<div class="col-sm-4">
<h3 class="white">Rollercoaster</h3>
<p class="white">A virtual reality rollercoaster ride.</p>
<a href="page/examples/demo.html?nsp=files/rollercoaster.nsp"><img class="madewith-preview" src="page/examples/files/rollercoaster.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/rollercoaster.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Spine-->
<div class="col-sm-4">
<h3 class="white">Spine</h3>
<p class="white">Spineboy spine animation example</p>
<a href="page/examples/demo.html?nsp=files/spine.nsp"><img class="madewith-preview" src="page/examples/files/spine.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/spine.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Portal-->
<div class="col-sm-4">
<h3 class="white">Portal</h3>
<p class="white">Portal clone example</p>
<a href="page/examples/demo.html?nsp=files/portal.nsp"><img class="madewith-preview" src="page/examples/files/portal.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/portal.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
</div>
<div class="row">
<!--PBR-->
<div class="col-sm-4">
<h3 class="white">PBR</h3>
<p class="white">Physically based rendering demo, using GLTF damaged helmet model.</p>
<a href="page/examples/demo.html?nsp=files/pbr.nsp"><img class="madewith-preview" src="page/examples/files/pbr.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/pbr.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Webcam-->
<div class="col-sm-4">
<h3 class="white">Webcam</h3>
<p class="white">Camera capture example using WebRTC.</p>
<a href="page/examples/demo.html?nsp=files/camera.nsp"><img class="madewith-preview" src="page/examples/files/camera.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/camera.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!--Animation-->
<div class="col-sm-4">
<h3 class="white">Starwars</h3>
<p class="white">Star wars tribute, with dancing stormtrooper!</p>
<a href="page/examples/demo.html?nsp=files/starwars.nsp"><img class="madewith-preview" src="page/examples/files/starwars.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/starwars.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
</div>
<div class="row">
<!--Paint-->
<div class="col-sm-4">
<h3 class="white">Paint</h3>
<p class="white">3D planet paint example, mouse to paint the planet.</p>
<a href="page/examples/demo.html?nsp=files/paint.nsp"><img class="madewith-preview" src="page/examples/files/paint.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/paint.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!-- Little Voxel Island -->
<div class="col-sm-4">
<h3 class="white">Little Voxel Island</h3>
<p class="white">Little voxel island model made by Rick Hoppmann w/ positional audio.</p>
<a href="page/examples/demo.html?nsp=files/littlevoxelisland.nsp"><img class="madewith-preview" src="page/examples/files/littlevoxelisland.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/littlevoxelisland.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
<!-- Boids -->
<div class="col-sm-4">
<h3 class="white">Boids</h3>
<p class="white">Boids simulation with instanced meshes and post-processing.</p>
<a href="page/examples/demo.html?nsp=files/boids.nsp"><img class="madewith-preview" src="page/examples/files/boids.jpg"></img></a>
<center><a href="build/editor/index.html?nsp=../page/examples/files/boids.nsp" class="btn btn-primary">Open in Editor</a></center>
</div>
</div>
</div>
<br/>
</section>
<!--Footer-->
<footer>
<div class="container">
<div class="text-right">
<p><small>
QuantumStudioEngine | Distributed under MIT license | Tentone
</small></p>
</div>
</div>
</footer>
</body>
</html>