-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
79 lines (68 loc) · 4.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Big Box 3D - Demo Site</title>
<meta name="description" content="">
<meta name="author" content="MK2k">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="icon" type="image/png" href="img/favicon.png">
</head>
<body>
<div class="container">
<div class="row">
<div class="column" style="margin-top: 10%">
<h4>Big Box 3D - Demo Site</h4>
<p>This site showcases <a href="https://github.com/theMK2k/bigbox3d" target="_blank">Big Box 3D</a>'s capabilities.</p>
</div>
<div class="column" style="margin-top: 16px">
<h5>Using bigbox3d.html without any parameter</h5>
<a href="/bigbox3d/bigbox3d.html" target="_blank">Example</a>
<p>When you call bigbox3d.html without any parameter, it will use the default values and display a placeholder box.</p>
<p>Examine the template images in order to know how to save your scanned images:
<ul>
<li><a href="/bigbox3d/template-front.jpg">template-front.jpg</a></li>
<li><a href="/bigbox3d/template-back.jpg">template-back.jpg</a></li>
<li><a href="/bigbox3d/template-top.jpg">template-top.jpg</a></li>
<li><a href="/bigbox3d/template-bottom.jpg">template-bottom.jpg</a></li>
<li><a href="/bigbox3d/template-left.jpg">template-left.jpg</a></li>
<li><a href="/bigbox3d/template-right.jpg">template-right.jpg</a></li>
<li><a href="/bigbox3d/template-preview.jpg">template-preview.jpg</a><i>this is used as preview image for social media posts</i></li>
<li><a href="/bigbox3d/template-bg.jpg">template-bg.jpg</a><i>this is the background image (you can also use animated gifs 😉)</i></li>
</ul>
</p>
</div>
<div class="column" style="margin-top: 16px">
<h5>Provide Path and Base Name of the Image Files</h5>
<a href="/bigbox3d/bigbox3d.html?path=/bigbox3d/img/&name=ff2_" target="_blank">Example</a>
<p>In this example we have the images in <pre>/bigbox3d/img/</pre> and their base name is <pre>ff2_</pre> So the complete URL parameters we use are:<pre>?path=/bigbox3d/img/&name=ff2_</pre></p>
</div>
<div class="column" style="margin-top: 16px">
<h5>Provide File Extension if you're not using .jpg Files</h5>
<a href="/bigbox3d/bigbox3d.html?path=/bigbox3d/img/&name=sj_&ext=png" target="_blank">Example</a>
<p>In this example we have the png instead of jpg images so we use <pre>ext=png</pre> The complete URL parameters for this example are:<pre>?path=/bigbox3d/img/&name=sj_&ext=png</pre></p>
</div>
<div class="column" style="margin-top: 16px">
<h5>Change the Background Color</h5>
<a href="/bigbox3d/bigbox3d.html?path=/bigbox3d/img/&name=Sid%20Meier%27s%20Pirates%20-%20Limited%20Collector%27s%20Edition-&bg=999999&bgvignette=false&bgpattern=false" target="_blank">Example</a>
<p>In this example we use a gray background by providing the following URL parameter: <pre>bg=999999</pre>, we also disable background filters. The complete URL parameters for this example are:<pre>?path=/bigbox3d/img/&name=Sid%20Meier%27s%20Pirates%20-%20Limited%20Collector%27s%20Edition-&bg=999999&bgvignette=false&bgpattern=false</pre></p>
</div>
<div class="column" style="margin-top: 16px">
<h5>Embed Big Box 3D in a Website</h5>
<a href="./embedded.html" target="_blank">Example</a>
<p>This example shows how to embed Big Box 3D in a website. Take a look at the source code of <a href="https://github.com/theMK2k/bigbox3d/blob/main/embedded.html" target="_blank">embedded.html</a>.</p>
</div>
<div class="column" style="margin-top: 16px">
<h5>DOOM Mailorder</h5>
<a href="/bigbox3d/bigbox3d.html?path=/bigbox3d/img/&name=DOOM_Mailorder-&bgext=gif" target="_blank">DOOM Mailorder</a>
<p>id Software turned 30 years on 1st February 2021 - so here is a DOOM mailorder box in glorious 3D with a slideshow of background images (animated gifs).</p>
<a href="/bigbox3d/bigbox3d.html?path=/bigbox3d/img/&name=DOOM_Mailorder-&bgext=mp4" target="_blank">DOOM Mailorder (video background)</a>
<p>The DOOM Mailorder box with a video background.</p>
</div>
</div>
</div>
</body>
</html>