-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspinmaze.html
92 lines (60 loc) · 3.66 KB
/
spinmaze.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
91
92
<!DOCTYPE html>
<!-- CSS Template from http://www.csstemplatesfree.org/jengo.html -->
<html lang="en">
<head>
<meta charset="utf-8">
<title>SpinMaze</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>Spin Maze</h3>
<iframe width="668" height="720" scrolling="no" frameborder="0" src="http://www.openprocessing.org/visuals/iframe.php?visualID=46412&width=640&height=640&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/spinmaze/spinmaze.zip">download the source</a> and open it in the Processing IDE<ul>
<li>Move mouse to rotate</li>
<li>CTRL to pause (to get to UI elements)</li>
<li>` (backtick/tilde) for debug info</li>
<li>1/2/3/4 to change ball physics</li>
<li>R to reset</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 Jamis Buck's series of <a href="http://weblog.jamisbuck.org/2011/2/7/maze-generation-algorithm-recap">blog posts on maze algorithms</a> that showed up on Hacker News, I added physics to maze-solving and ended up with this game, which is played by rotating the maze and using gravity to escape the maze and avoid enemies.</p>
<p class="service-title"><em>Tech</em></p>
<p><a href="http://processing.org/">Processing</a> with <a href="http://www.ricardmarxer.com/fisica/">fisica library</a> for physics, <a href="http://www.sojamo.de/libraries/controlP5/">controlP5</a> for UI elements, and <a href="http://www.robotacid.com/PBeta/AILibrary/Pathfinder/index.html">AILibrary</a> for A*</p>
<p class="service-title"><em>When</em></p>
<p>Winter 2010</p>
</div><!--end content-->
<div id="sidebar">
<h5><em>Screenshots</em></h5>
<a href="assets/images/screens/spinmaze/1.png" title="Initial state" class="first"><img src="assets/images/screens/spinmaze/1_thumb.png" class="project-img" alt="Initial state" /></a>
<a href="assets/images/screens/spinmaze/2.png" title="Victory + debug"><img src="assets/images/screens/spinmaze/2_thumb.png" class="project-img" alt="Victory + debug" /></a>
<a href="assets/images/screens/spinmaze/3.png" title="Big maze + enemies"><img src="assets/images/screens/spinmaze/3_thumb.png" class="project-img" alt="Big maze + enemies" /></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>