-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.html
More file actions
32 lines (29 loc) · 992 Bytes
/
Copy pathresult.html
File metadata and controls
32 lines (29 loc) · 992 Bytes
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
<!--
Result page.
This page renders the generative artwork using p5.js
based on the previously entered text.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text-to-Art • Result</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.min.js"></script>
<script src="sketch.js"></script>
</head>
<body>
<div class="overlay">
<div class="pill" id="pill-text">Input: <strong id="pill-input"></strong></div>
<div class="controls">
<button class="save-btn" onclick="saveArt()">Save to gallery</button>
<a class="save-btn" href="gallery.html">Open gallery</a>
<a class="save-btn" href="index.html">← Back / Create new</a>
</div>
</div>
<div id="loading" class="loading">
<span>Blooming your art, wait a little…</span>
</div>
</body>
</html>