-
Notifications
You must be signed in to change notification settings - Fork 0
/
circles.html
54 lines (50 loc) · 1.4 KB
/
circles.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Circles</title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./css/slider.css">
</head>
<body>
<div class="row">
<div class="col">
<div class="row">
<h1>Circles</h1>
</div>
<div class="row">
<p>Recursive circles that spin in the opposite direction to parents</p>
</div>
<div class="row">
<p>Todo: colour selection, real time scaling canvas</p>
</div>
</div>
</div>
<div class="row">
<div id="inputs" class="col-md-2">
<div class="row">
<p>Depth (1-10):</p>
</div>
<div class="row bottom-pad">
<input type="range" id="depth" value="4" min="1" max="10" width="500px"/>
</div>
<div class="row">
<p>Split 1 (1-10):</p>
</div>
<div class="row bottom-pad">
<input type="range" id="split" value="3" min="0" max="10" width="500px"/>
</div>
<div class="row">
<p>Value 3 (0-100):</p>
</div>
<div class="row bottom-pad">
<button onclick="x.setup()">Generate</button>
</div>
</div>
<div class="col-md-7">
<canvas id="circles"></canvas>
</div>
</div>
<script src="js/circles.js"></script>
</body>
</html>