-
Notifications
You must be signed in to change notification settings - Fork 0
/
skies_and_silhouettes.html
45 lines (43 loc) · 1.46 KB
/
skies_and_silhouettes.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
<!DOCTYPE html >
<!--
By Dave Lawrence on 26/8/2010
Skies & Silhouettes
http://proceduralgraphics.blogspost.com
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Skies & Silhouettes</title>
<script type="text/javascript" src="util.js"></script>
<script type="text/javascript" src="lsystem.js"></script>
<script type="text/javascript" src="drawing.js"></script>
<script type="text/javascript" src="perlin.js"></script>
<script type="text/javascript" src="windmills.js"></script>
<script type="text/javascript" src="skies_and_silhouettes.js"></script>
<style>
html,body { width:100%; height:100%; margin:0; overflow:hidden; }
body { padding:20px; }
table, tr { width: "100%"; }
th { font-weight: bold; }
td { text-align: center; border: 0px; padding: 5px; }
div.heading { font-weight: bold; };
</style>
</head>
<body onload="setup()">
<div id="canvas"></div>
<div>
Select to load existing values: <select id="preloads"></select>
</div>
<div id="info">
<table>
<tr><th>Silhouette</th><th>Background</th><th>Foreground</th></tr>
<tr>
<td><select id="silhouette"></select></td>
<td><input id="bgcolor" /></td>
<td><input id="fgcolor" /></td>
<td><input id="update" type="button" value="generate sky" /></td>
</tr>
</table>
</div>
<div>By Dave Lawrence - <A href="http://proceduralgraphics.blogspot.com">http://proceduralgraphics.blogspot.com</A></div>
</body>
</html>