-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
98 lines (95 loc) · 2.96 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html>
<head>
<title>Fractal Tree Generator</title>
<link href="https://fonts.googleapis.com/css?family=Exo+2" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<body>
<h1>Fractal Tree Generator</h1>
<h2>General Instructions</h2>
<ul>
<li>Click on canvas to create branches.</li>
<li>Use the checkbox to control shaking</li>
<li>Use the buttons to grow and shed leaves</li>
</ul>
<h4><i>* For smooth animations keep the branch number under 510</i></h3>
<br>
<div id="shape" style="margin-bottom: 15px"></div>
<div id="butHolder"></div>
<center>
<table>
<tr>
<td>
<table id="elementsContainer">
<tr>
<td id="shaking">
</td>
</tr>
<tr>
<td>
New branch size<br>(Relative to parent branch)
<div id="shrink"></div>
</td>
</tr>
<tr>
<td>
Intensity of shaking
<div id="shake" ></div>
</td>
</tr>
</table>
</td>
<td>
<div id="canvasParent"></div>
</td>
<td>
<table id="elementsContainer">
<tr><td id="gravity"></td></tr>
<tr>
<td id="cpicker">
Select leaf color :
<br><br>
<button id="colour" class="jscolor {valueElement:null,value:'00c42b'}" style="width:50px; height:20px;"></button>
</td>
</tr>
<tr>
<td>
Size of leaves
<div id="flsize"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="wind" style="text-align:center;" colspan="3">
</td>
</tr>
</table></center>
<h3>If you experience any bugs or have a feature request, submit <a href="https://github.com/MasterYushi/Fractal-Tree-Object-Oriented-/issues">HERE</a></h3>
<br>
<h2 style="color:#fff;">Change log :</h2>
<ul style="color:#fff">
<li>Added option to select leaf shape</li>
<li>Added option to modify branch angle</li>
<li>Subsequent branches get thinner now</li>
<li>Now you can save your creations as a png file</li>
<li>Added a colour picker for leaves</li>
<li>Added gravity and wind forces</li>
</ul>
<script language="javascript" type="text/javascript" src="lib\p5\p5.js">
</script>
<script language="javascript" type="text/javascript" src="lib\p5\p5.dom.js">
</script>
<script language="javascript" type="text/javascript" src="Fraternal Tree.js">
</script>
<script language="javascript" type="text/javascript" src="branch.js">
</script>
<script language="javascript" type="text/javascript" src="flower.js">
</script>
<script language="javascript" type="text/javascript" src="lib\jscolor\jscolor.js">
</script>
</body>
<script>
</html>