-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (32 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>Lindenmayer System</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Texturina:wght@600&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/0-harshit-0/Utility-HTML5Canvas@master/utility.min.js" defer="true"></script>
<link rel="stylesheet" type="text/css" media="screen" href="main.css">
<script src="main.js" defer="true"></script>
</head>
<body>
<header>
<h1>L-System</h1>
<ul>
<li onclick="bush()">Bush</li>
<li onclick="crystal()">Crystal</li>
<li onclick="QuadraticSnowflake();">Quadratic Snowflake</li>
<li onclick="QuadraticKochIsland()">Quadratic Koch Island</li>
<li onclick="Snowflake()">Snowflake</li>
<li onclick="Pentaplexity()">Pentaplexity</li>
<br><br>
<button onclick="generate();">generate</button>
<br>
<label for="range">length/radius: </label><input id="range" type="range" name="radius" step="1" value="50" min="1" max="100">
</ul>
</header>
<canvas id="canvas"></canvas>
</body>
</html>