summaryrefslogtreecommitdiff
path: root/h.html
blob: d9e0c3052632c184768bcff949cff74592a73e82 (plain)
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
<html>
<head>
<link rel='stylesheet' href='css/bootstrap.min.css'>
<link rel='stylesheet' href='css/style.css'>
<link rel="shortcut icon" type="image/png" href="hfavicon.png">
<title>H</title>
</head>

<body>
<h2 style='font-family: Times New Roman'>H</h2>
<div id="header_links_div"></div>
<script src="js/header_links.js"></script>
<hr>

<script src='js/h.js'></script>

<p>Line lengths controls the size of the Hs, width and height control
how big the H can get, and wait between iterations changes how quickly the
Hs are generated. Click begin to start, and once you think it has
grown enough, click stop. You can then download the H or continue to make
more Hs by clicking begin again.</p>

Line lengths: <input type='number' id='lineLength' value=6><br>
Width: <input type='number' id='w' value=500><br>
Height: <input type='number' id='h' value=500><br>
Wait between iterations (ms): <input type='number' id='delay' value=1000>
<br>
Chance that a new branch will form:
<input type='number' min=0 max=1 id='chance' value=1 step=0.1>
<br>


<button onclick='beginH();'>Begin</button><br>
<button onclick='stop();'>Stop</button><br>

<canvas width=100 height=100 id='canvas'></canvas>

<footer>
<p class='footer'>This program is licensed under the
<a href='http://autoart.neocities.org/LICENSE.txt'>GNU General public license</a>
</p>
</footer>

</body>



</html>