Spaces:
Running
Running
Add p5.js library
Browse files- index.html +2 -9
index.html
CHANGED
|
@@ -3,18 +3,11 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width" />
|
| 6 |
-
<title>
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
|
|
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<div class="card">
|
| 11 |
-
<h1>Welcome to your static Space!</h1>
|
| 12 |
-
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
| 13 |
-
<p>
|
| 14 |
-
Also don't forget to check the
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
<script type="module" src="sketch.js"></script>
|
| 19 |
</body>
|
| 20 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width" />
|
| 6 |
+
<title>p5.js Critical AI Kit</title>
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/p5.min.js"></script>
|
| 9 |
</head>
|
| 10 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
<script type="module" src="sketch.js"></script>
|
| 12 |
</body>
|
| 13 |
</html>
|