This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (47 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fractalism | Trees</title>
<link rel="stylesheet" href="style/style.css">
</head>
<body onload="init()" onresize="init()">
<div id="panel">
<div class="input-panel">
<label for="angle">Angle</label>
<input id="angle" type="number" min="0" max="360" value="60" onchange="init()">
</div>
<div class="input-panel">
<label for="split">Split</label>
<input id="split" type="number" min="0" max="6" value="2" onchange="init()">
</div>
<div class="input-panel">
<label for="depth">Depth</label>
<input id="depth" type="number" min="0" max="18" value="15" onchange="init()">
</div>
<div class="input-panel">
<label for="size">Size </label>
<input id="size" type="number" min="0" max="100" value="10" onchange="init()">
</div>
<div class="input-panel">
<a href="#" onclick="setRandom()">Random</a>
</div>
<div class="input-panel">
<a href="">Default</a>
</div>
</div>
<div id="container">
<canvas id="canvas"></canvas>
</div>
<div id="footer">
<div class="input-panel">
<a href="https://github.com/re1/re1s-fractalism">Github</a>
</div>
<div class="input-panel">
<a href="cubes/index.html">Fractalism - Cubes</a>
</div>
</div>
<script src="trees/tree.js"></script>
<script src="trees/canvas-base.js"></script>
</body>
</html>