-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREGdemo.html
More file actions
21 lines (21 loc) · 757 Bytes
/
REGdemo.html
File metadata and controls
21 lines (21 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<title>Shape Alignment Game</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<canvas id="gameCanvas" width="600" height="400"></canvas>
<div id="controls">
<label for="moveX">Move X:</label>
<input type="range" id="moveX" min="-300" max="300" value="0">
<label for="moveY">Move Y:</label>
<input type="range" id="moveY" min="-200" max="200" value="0">
<label for="rotate">Rotate:</label>
<input type="range" id="rotate" min="0" max="360" value="0">
<button id="hideShapes">Hide Shapes</button>
</div>
<div id="mseDisplay">MSE: <span id="mseValue">0</span></div>
<script src="script.js"></script>
</body>
</html>