generated from mathias-wilke/javascript-canvas-fun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (32 loc) · 1.39 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Canavas Fun</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="css/canvas-fun.css">
</head>
<body>
<div id="menue">
<ul>
<li><a href="https://www.mathiaswilke.de">mathiaswilke.de</a></li>
<li><a href="https://www.mathiaswilke.de/pythagoras">Pythagoras</a></li>
<li><a href="https://www.mathiaswilke.de/sierpinski">Sierpinski</a></li>
<li><a href="https://www.mathiaswilke.de">V-Tree</a></li>
<li><a href="https://www.mathiaswilke.de/mandelbrot">Mandelbrot</a></li>
</ul>
</div>
<canvas id="screen" width="800px" height="450px"></canvas>
<div class="slidecontainer">
<p>SETTINGS</p>
<p>Iterations</p>
<input type="range" min="10" max="255" value="100" class="slider" id="iterations" onchange="getPixelData()">
<p>You are looking at:</p>
<p class="coordinate" id="xs">xs: -2.3</p>
<p class="coordinate" id="ys">ys: 0.9</p>
<p class="coordinate" id="xe">xe: -1.2</p>
<p class="coordinate" id="ye">ye: 1.2</p>
<p style="color: #FF416C;">beautiful... ❤</p>
</div>
<script src="js/canvas-fun.js"></script>
</body>
</html>