-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
64 lines (59 loc) · 2.68 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywords" content="DnD, dungeons and dragons, roleplay, dice, roller, 3D, RPG"/>
<meta name="description" content="An Interactive, Online 3D Dice Roller"/>
<title>3D Dice Roller</title>
<style type="text/css">@import "main.css";</style>
<style type="text/css">@import "dice.css";</style>
<script
async
defer
data-website-id="d7fa3c92-093e-431d-b7b3-1ada0da53156"
src="https://umami.matteas.nz/umami.js"
></script>
</head>
<body style="margin: 0">
<div id="control_panel" class="control_panel">
<img src="favicon.ico" style="vertical-align: middle"></img>
<p id="loading_text">Loading libraries, please wait a bit...</p>
<p id="original_link"><a href="http://a.teall.info/dice">Original Site</a></p>
<p id="original_source"><a href="http://www.teall.info/2014/01/online-3d-dice-roller.html">Original Source</a></p>
<p id="repo_link"><a href="https://github.com/Matteas-Eden/dice-roller">Link to GitHub repo</a></p>
<!-- <p id="info_text"><a href="/mdice">Multiplayer version</a></p> -->
</div>
<div id="info_div" style="display: none">
<div class="center_field">
<span id="label"></span>
</div>
<div class="center_field">
<div class="bottom_field">
<span id="labelhelp">Click once to start again or click and drag to re-roll</span>
</div>
</div>
</div>
<div id="selector_div" style="display: none">
<div class="center_field">
<div id="sethelp">
Choose your set of dice by clicking the dice on-screen or via direct input using notation,<br/>
then click and drag anywhere on screen or press the throw button to roll.
</div>
</div>
<div class="center_field">
<input type="text" id="set" value="4d6"></input><br/>
<button id="clear">clear</button>
<button style="margin-left: 0.6em" id="throw">throw</button>
</div>
</div>
<div id="canvas"></div>
<script src="libs/three.min.js"></script>
<script src="libs/cannon.min.js"></script>
<script type="text/javascript" src="teal.js"></script>
<script type="text/javascript" src="dice.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" defer="defer">
dice_initialize(document.body);
</script>
</body>
</html>