-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (45 loc) · 1004 Bytes
/
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
46
47
48
49
50
51
<html>
<head>
<meta charset="utf-8">
<title>Evolving Pictures</title>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
border: 0;
display: block;
}
canvas {
position: relative;
left: -5px;
top: -5px;
padding: 0px
}
.text {
margin: 20px 0;
text-align: center;
}
</style>
</head>
<body>
<canvas id="picture"></canvas>
<div class="text">
<h2>Evolving Pictures</h2>
<p>Click to change slightly (may take a few seconds on mobile and slow systems).
<br>Refresh page to create an entirely new one.
</p>
Formula:
<p id="formula">
</p>
<footer>
Created with tutorials from Jack Mott at
<a href="http://www.gameswithgo.org">gameswithgo</a> and
<a href="https://github.com/gopherjs/gopherjs">GopherJS</a>
</footer>
</div>
</body>
<script src="evolving-pictures-web.js" type="text/javascript"></script>
</html>