-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperlin.html
90 lines (58 loc) · 3.45 KB
/
perlin.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<!-- CSS Template from http://www.csstemplatesfree.org/jengo.html -->
<html lang="en">
<head>
<meta charset="utf-8">
<title>Perlin Landscape</title>
<link rel="stylesheet" href="assets/styles/style.css" />
<!--[if IE 6]>
<link rel="stylesheet" href="assets/styles/ie6.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="assets/styles/ie7.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" href="assets/styles/ie8.css" />
<![endif]-->
</head>
<body>
<div id="wrap">
<div id="header">
<h1><a href=".." title="Home">Greg Schafer</a></h1>
<h2>Student</h2>
</div><!--end header-->
<div id="embed">
<h3>Perlin Landscape</h3>
<iframe width="668" height="560" scrolling="no" frameborder="0" src="http://www.openprocessing.org/visuals/iframe.php?visualID=46408&width=640&height=480&border=true"></iframe>
</div><!--end intro-->
<div id="main">
<div id="content">
<p class="service-title first"><em>How to play</em></p>
<p>Play in the applet above, or <a href="assets/projects/perlin/explore_perlin.pde">download the source</a> and open it in the Processing IDE<ul>
<li>Move the mouse to "move" the landscape</li>
<li>Hold CTRL to move the mouse without moving the landscape (to get to UI elements)</li>
<li>Click and drag to move the camera</li>
<li>More settings and controls accessible in the UI at the top</li>
</ul></p>
<p class="service-title"><em>What</em></p>
<p>Inspired by <a href="http://notch.tumblr.com/post/3746989361/terrain-generation-part-1">Notch's hints at terrain generation in Minecraft</a>, I wanted to see if I could replicate the landscape. Please note that it looks a lot better in OpenGL mode, which you can see by downloading the source and running it in the Processing IDE.</p>
<p class="service-title"><em>Tech</em></p>
<p><a href="http://processing.org/">Processing</a> with <a href="http://www.sojamo.de/libraries/controlP5/">controlP5</a> for UI elements</p>
<p class="service-title"><em>When</em></p>
<p>Fall 2010</p>
</div><!--end content-->
<div id="sidebar">
<h5><em>Screenshots</em></h5>
<a href="assets/images/screens/perlin/1.png" title="Default settings" class="first"><img src="assets/images/screens/perlin/1_thumb.png" class="project-img" alt="Default settings" /></a>
<a href="assets/images/screens/perlin/2.png" title="Edges + boxy + water"><img src="assets/images/screens/perlin/2_thumb.png" class="project-img" alt="Edges + boxy + water" /></a>
<a href="assets/images/screens/perlin/3.png" title="High noise"><img src="assets/images/screens/perlin/3_thumb.png" class="project-img" alt="High noise" /></a>
</div><!--end sidebar-->
</div><!--end main-->
<div id="footer">
<p><span class="twitter"><a href="https://github.com/grschafer">GitHub</a> / <a href="http://www.linkedin.com/in/grschafer">LinkedIn</a> / <a href="https://twitter.com/#!/grschafer">Twitter</a></span></p>
</div><!--end footer-->
</div><!--end wrap-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script src="assets/js/jquery.custom.js"></script>
</body>
</html>