2017-02-19 06:52:53 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2017-05-08 00:44:46 +00:00
|
|
|
<title>Proximity Structures</title>
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2017-08-04 20:32:50 +00:00
|
|
|
<!-- open graph tags -->
|
|
|
|
<meta property="og:title" content="Proximity Structures" />
|
|
|
|
<meta property="og:url" content="http://proximity.hallada.net/" />
|
|
|
|
<meta property="og:image" content="http://proximity.hallada.net/img/proximity-300-zoomed.png" />
|
|
|
|
<meta property="og:image:type" content="image/png" />
|
|
|
|
<meta property="og:image:width" content="300" />
|
|
|
|
<meta property="og:image:height" content="300" />
|
|
|
|
<meta property="og:image:alt" content="Screenshot of the animation in action" />
|
|
|
|
<meta property="og:description" content="A procedurally generated and interactive animation created with PixiJS" />
|
2017-02-19 06:52:53 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.2.2/pixi.min.js"></script>
|
2017-08-04 15:29:53 +00:00
|
|
|
<script src="js/proximity.js"></script>
|
2017-08-11 05:24:18 +00:00
|
|
|
<div id="help" style="display: none;">
|
|
|
|
<h2>Help</h2>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Interaction</th>
|
|
|
|
<th>Action</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>mouse hover</td>
|
|
|
|
<td>push points away from cursor</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>mouse/touch click and hold</td>
|
|
|
|
<td>attract points to cursor, then explode outwards</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>mouse wheel scroll down</td>
|
|
|
|
<td>slow down time</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>mouse wheel scroll up</td>
|
|
|
|
<td>speed up time</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>left</td>
|
|
|
|
<td>hold to restrict points to the left of the screen</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>right</td>
|
|
|
|
<td>hold to restrict points to the right of the screen</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>up</td>
|
|
|
|
<td>hold to restrict points to the top of the screen</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>down</td>
|
|
|
|
<td>hold to restrict points to the bottom of the screen</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>makes points move linearly</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>2</td>
|
|
|
|
<td>makes points meander</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>3</td>
|
|
|
|
<td>makes points snappy</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>4</td>
|
|
|
|
<td>makes points bouncy</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>5</td>
|
|
|
|
<td>makes points elastic</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>6</td>
|
|
|
|
<td>makes points overshoot</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>f</td>
|
|
|
|
<td>toggle FPS counter</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>d</td>
|
|
|
|
<td>toggles debug mode (including FPS counter)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>n</td>
|
|
|
|
<td>toggles display of nodes</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>l</td>
|
|
|
|
<td>toggles display of lines</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>?</td>
|
|
|
|
<td>toggles this help modal</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2017-02-19 06:52:53 +00:00
|
|
|
</body>
|
2017-08-08 02:46:10 +00:00
|
|
|
|
|
|
|
<!-- Google Analytics -->
|
|
|
|
<script>
|
|
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
|
|
ga('create', 'UA-39880341-1', 'auto');
|
|
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
|
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
|
|
<!-- End Google Analytics -->
|
2017-02-19 06:52:53 +00:00
|
|
|
</html>
|