-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
45 lines (33 loc) · 1.5 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
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<style>
.town {
border: 3px solid black;
width: 1000px;
height: 580px;
grid-column: 1;
grid-row: 1;
}
</style>
</head>
<body>
<div style="display: grid;">
<canvas width="1500" height="880" class="town" id="sky"></canvas>
<canvas width="1500" height="880" class="town" id="town" tabindex="1"></canvas>
</div>
<button id="timeToBuild">IT'S TIME TO BUILD</button>
<button id="timeToDebug">IT'S TIME TO debug</button>
<p>Right click to build, or better: Click IT'S TIME TO BUILD. </p>
<p>Left click to drag (try dragging the sun downwards)</p>
<p>Art is very much a work in progress because I am slow to learn illustration.</p>
<p>This is meant to be the background to <a href="https://simonsarris.com">simonsarris.com</a>, once it looks nice. The current simonsarris.com is a pure CSS background (including the birds) but is not interactive.
<p><a href="https://github.com/simonsarris/simeville">simeville repo on github</a></p>
<p><a href="https://twitter.com/simonsarris">🕯 simonsarris on twitter</a></p>
<!-- <p>Width <input id="widthSlider" type="range" min="10" max="200" value="50"></p>
<p>Height <input id="heightSlider" type="range" min="10" max="200" value="50"></p>
<p>Width fraction <input id="widthFractionSlider" type="range" step="0.01" min="0.01" max="1" value="0.5"></p>
<p>Height fraction <input id="heightFractionSlider" type="range" step="0.01" min="0.01" max="1" value="0.5"></p> -->
<script type="module" src="./main.js"></script>
</body>
</html>