53 lines
1.2 KiB
HTML
53 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Wall Plotter — zigzag</title>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
}
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: #1c1c20;
|
|
color: #ddd;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
h1 {
|
|
position: absolute;
|
|
top: 0.6rem;
|
|
right: 0.75rem;
|
|
z-index: 20;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
opacity: 0.85;
|
|
pointer-events: none;
|
|
text-align: right;
|
|
}
|
|
#sketch-host {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
}
|
|
#sketch-host canvas {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
</style>
|
|
<script src="https://cdn.jsdelivr.net/npm/p5@1.11.3/lib/p5.min.js"></script>
|
|
<script src="../../lib/WallPlotter.js?v=2.3.5"></script>
|
|
<script src="sketch.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>Wall Plotter — zigzag</h1>
|
|
<main id="sketch-host"></main>
|
|
</body>
|
|
</html>
|