-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfern.html
30 lines (30 loc) · 1.38 KB
/
fern.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
<html>
<head>
<meta name="copyright" content="Copyright © 2021/02/22- [email protected] . All Rights Reserved.">
<meta charset="utf-8">
<title> Fern </title>
<link rel="stylesheet" href="index.css">
<style>
canvas { background-color:black; }
</style>
</head>
<body>
<div class="container">
<div class="controlPanel" style="display:flex">
<div>
Width:<input id="width" type="range" min="64" max="2048" step="1" value="420">:<input type="text" id="widthText" size="5"> <br />
Height:<input id="height" type="range" min="64" max="2048" step="1" value="640">:<input type="text" id="heightText" size="5">
</div>
<div>
Count:<input id="count" type="range" min="1" max="100000" step="1" value="1000">:<input type="text" id="countText" size="7"> <br />
Animation: <input id="animation" type="checkbox" />
</div>
</div> <!-- controlPanel -->
<canvas id="canvas" class="borderRed" width=320 height=320> canvas </canvas>
</div> <!-- container -->
<small> (c) <a href="https://twitter.com/awotere7/status/1363471771836567559"> https://twitter.com/awotere7/status/1363471771836567559 </a> </small>
<script type="text/javascript" src="lib/bind.js"> </script>
<script type="text/javascript" src="lib/canvas.js"> </script>
<script type="text/javascript" src="fern.js"> </script>
</body>
</html>