-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (87 loc) · 3.47 KB
/
index.html
File metadata and controls
106 lines (87 loc) · 3.47 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Bruce Johnson and Denise Case" />
<meta name="description" content="Color Cube for use with MandArt" />
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
connect-src 'self';
script-src-elem 'self' https://unpkg.com/three@0.160.0/ http://localhost;
script-src 'self' 'unsafe-inline' https://unpkg.com/three@0.160.0/build/three.module.js ;
object-src 'none';
base-uri 'none';
require-trusted-types-for 'script';
">
<title>Color Cube</title>
<link rel="stylesheet" href="./css/cube.css">
<link rel="shortcut icon" href="./favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_io/favicon-16x16.png">
<link rel="preload" href="./mandart.png" as="image">
<link rel="preload" href="https://unpkg.com/three@0.160.0/build/three.module.js" as="script"
crossorigin="anonymous">
</head>
<body>
<header>
<img src="./mandart.png" alt="MandArt Logo" id="header-logo" loading="lazy">
<h1>MandArt Color Cube</h1>
<a href="https://github.com/denisecase/color-cube/blob/main/README.md" target="_blank" id="info-icon">
<span>ℹ️</span> <!-- This is a simple text-based info icon -->
</a>
</header>
<article>
<div class="animation-controls">
<label>
<input type="checkbox" id="rotationCheckbox"> Animate Rotation
</label>
</div>
<div class="rotation-control">
<label>
Shift Rotation:
<button id="rotationButtonLeft">◄</button>
<button id="rotationButtonRight">►</button>
</label>
</div>
<fieldset class="cube-count-control">
<legend>Cube count (per side):</legend>
<div>
<input type="radio" id="1" name="cubeCount" value="1" />
<label for="1">1</label>
</div>
<div>
<input type="radio" id="3" name="cubeCount" value="3" />
<label for="3">3</label>
</div>
<div>
<input type="radio" id="5" name="cubeCount" value="5" />
<label for="5">5</label>
</div>
<div>
<input type="radio" id="7" name="cubeCount" value="7" />
<label for="7">7</label>
</div>
<div>
<input type="radio" id="9" name="cubeCount" value="9" />
<label for="9">9</label>
</div>
</fieldset>
</article>
<div id="canvas-container">
<!-- The canvas element will be appended here by THREE.js -->
</div>
<footer>
<a href="https://denisecase.github.io/MandArt-Docs/documentation/mandart/" target="_blank">
<img src="./mandart.png" alt="MandArt Logo">
MandArt Docs
</a>
<a href="https://github.com/denisecase/color-cube" target="_blank">
<img src="./github-mark/github-mark-white.svg" alt="GitHub Logo">
GitHub Source Repo
</a>
</footer>
<script type="module" src="./app.js"></script>
</body>
</html>