115 lines
3.8 KiB
HTML
115 lines
3.8 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>Proximity Structures</title>
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<!-- 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" />
|
|
</head>
|
|
<body>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.2.2/pixi.min.js"></script>
|
|
<script src="js/proximity.js"></script>
|
|
<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>
|
|
</body>
|
|
|
|
<!-- 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 -->
|
|
</html>
|