Spaces:
Running
Running
Update index.html
Browse files- index.html +35 -17
index.html
CHANGED
|
@@ -1,19 +1,37 @@
|
|
| 1 |
<!doctype html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
+
<title>Flow Field Art</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css" />
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
|
| 11 |
+
<canvas id="canvas"></canvas>
|
| 12 |
+
|
| 13 |
+
<div class="panel">
|
| 14 |
+
<h1>Flow Field</h1>
|
| 15 |
+
<p>Generative art</p>
|
| 16 |
+
|
| 17 |
+
<label>
|
| 18 |
+
Density
|
| 19 |
+
<input type="range" id="density" min="2000" max="30000" step="1000" value="12000">
|
| 20 |
+
</label>
|
| 21 |
+
|
| 22 |
+
<label>
|
| 23 |
+
Curl
|
| 24 |
+
<input type="range" id="curl" min="0" max="6" step="0.1" value="2">
|
| 25 |
+
</label>
|
| 26 |
+
|
| 27 |
+
<label>
|
| 28 |
+
Speed
|
| 29 |
+
<input type="range" id="speed" min="0.2" max="3" step="0.1" value="1">
|
| 30 |
+
</label>
|
| 31 |
+
|
| 32 |
+
<button id="regen">New Seed</button>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
<script src="script.js"></script>
|
| 36 |
+
</body>
|
| 37 |
</html>
|