/
index.html
57 lines (55 loc) · 1.77 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="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>L-system Parser</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="query.css">
<script src="p5/p5.js"></script>
<script src="p5/addons/p5.sound.js"></script>
<script src="src/sketch.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="row">
<div class="side">
<form id="parameters">
<div>
<label for="axiom">Axiom:</label>
<input type="text" id="axiom" name="axiom" value = "F--F--F">
</div>
<div>
<label for="iterations">Iterations:</label>
<input type="text" id="iterations" name="iterations" value="4">
</div>
<div>
<label for="angle">Angle:</label>
<input type="text" id="angle" name="angle" value = "60">
</div>
<div>
<label for="rule1">Rule 1:</label>
<input type="text" id="rule1" name="rule1" value = "F=F+F--F+F">
</div>
<div>
<label for="rule2">Rule 2:</label>
<input type="text" id="rule2" name="rule2">
</div>
<div>
<label for="rule3">Rule 3:</label>
<input type="text" id="rule3" name="rule3">
</div>
<div class="button">
</div>
</form>
</div>
<div class="main">
<div id="canvas-container"></div>
<p id="result"></p>
</div>
</div>
<script src="src/LSystem.js"></script>
<script src="src/Turtle.js"></script>
</body>
</html>