diff options
Diffstat (limited to 'h.html')
-rw-r--r-- | h.html | 87 |
1 files changed, 44 insertions, 43 deletions
@@ -1,47 +1,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> + <head> + <link rel="shortcut icon" type="image/png" href="hfavicon.png"> + <title>H</title> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> + <link rel='stylesheet' href='css/style.css'> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> + </head> + + <body> + <div id="navbar"></div> + <script src="navbar.js"></script> + + <h2 style='font-family: Times New Roman'>H</h2> + + <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> |