2017-04-04 01:24:46 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
========================================================================
|
|
|
|
The /r/place Atlas
|
|
|
|
|
|
|
|
An Atlas of Reddit's /r/place, with information to each
|
|
|
|
artwork of the canvas provided by the community.
|
|
|
|
|
|
|
|
Copyright (C) 2017 Roland Rytz <roland@draemm.li>
|
|
|
|
Licensed under the GNU Affero General Public License Version 3
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
For more information, see:
|
|
|
|
https://draemm.li/various/place-atlas/license.txt
|
|
|
|
|
|
|
|
========================================================================
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>
|
|
|
|
The /r/place Atlas
|
|
|
|
</title>
|
|
|
|
|
2017-04-18 03:24:50 +02:00
|
|
|
<meta name="description" content="An interactive map of Reddit's /r/place, with information to each artwork of the canvas.">
|
2017-04-04 01:24:46 +02:00
|
|
|
<meta name="author" content="Roland Rytz">
|
|
|
|
<meta name="keywords" content="reddit, /r/place, april">
|
2017-04-18 03:24:50 +02:00
|
|
|
<meta name="application-name" content="The /r/place Atlas">
|
2017-04-04 01:24:46 +02:00
|
|
|
<meta name="robots" content="index, follow">
|
2017-04-10 19:04:42 +02:00
|
|
|
|
|
|
|
<meta name="google-site-verification" content="gZGHpBSMzffAbIn0qB8b00We6EwSGkDTfDoQVv-NWss" />
|
2017-04-06 19:15:16 +02:00
|
|
|
|
2017-04-10 23:56:35 +02:00
|
|
|
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no">
|
2017-04-18 03:24:50 +02:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2017-04-10 23:56:35 +02:00
|
|
|
|
2017-04-18 03:24:50 +02:00
|
|
|
<link href="./_css/style.css?version=1.0.31" rel="stylesheet" type="text/css" media="all">
|
2017-04-10 23:56:35 +02:00
|
|
|
|
2017-04-04 01:24:46 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-04-06 19:15:16 +02:00
|
|
|
<div id="wrapper">
|
|
|
|
<header>
|
|
|
|
<a href="./">
|
2017-04-18 03:24:50 +02:00
|
|
|
<img id="logo" src="./_img/logo.png" height="50" width="50" alt="Logo">
|
|
|
|
<!-- If you wonder why I shrink the image in html,
|
|
|
|
it's because this is the image that will be used
|
|
|
|
by reddit and the like as the thumbnail for the site.
|
|
|
|
The original is only 5.9kB, which wouldn't get much
|
|
|
|
smaller by reducing the actualy size. -->
|
2017-04-08 03:27:51 +02:00
|
|
|
<h1 id="title">The /r/place Atlas</h1>
|
2017-04-06 19:15:16 +02:00
|
|
|
</a>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div id="container">
|
2017-04-10 17:57:13 +02:00
|
|
|
<div id="loading">
|
|
|
|
<div id="loadingContent">
|
|
|
|
<div></div><br>
|
|
|
|
<span> Hang on...</span>
|
|
|
|
<noscript>
|
|
|
|
<p>Sorry, you need JavaScript to view the Atlas.</p>
|
|
|
|
<p>All JavaScript on this site is licensed under either the MIT or AGPL license.</p>
|
|
|
|
<p><a href="https://github.com/RolandR/place-atlas/">See the source on GitHub</a></p>
|
|
|
|
</noscript>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-06 19:15:16 +02:00
|
|
|
<canvas id="linesCanvas"></canvas>
|
|
|
|
<div id="innerContainer">
|
|
|
|
<canvas id="highlightCanvas" width="1000" height="1000"></canvas>
|
|
|
|
<img id="image" src="./_img/place-indexed.png" width="1000" height="1000" alt="Canvas of /r/place in the state of when the experiment was concluded." />
|
2017-04-05 20:48:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-06 19:15:16 +02:00
|
|
|
|
|
|
|
<div id="entriesListContainer">
|
|
|
|
<nav>
|
|
|
|
<a id="aboutLink" href="./about.html">About</a>
|
|
|
|
<a id="drawLink" href="./?mode=draw">Contribute</a>
|
|
|
|
</nav>
|
|
|
|
<div id="entriesListControls">
|
|
|
|
<input autofocus id="searchList" type="text" placeholder="Search...">
|
|
|
|
<span id="atlasSize"></span>
|
|
|
|
<div id="sortContainer"><label>Sort:</label>
|
|
|
|
<select id="sort">
|
2017-04-10 12:25:04 +02:00
|
|
|
<option value="shuffle">Random</option>
|
2017-04-09 21:45:08 +02:00
|
|
|
<option value="relevant" id="relevantOption" disabled>Relevant</option>
|
2017-04-10 12:25:04 +02:00
|
|
|
<option value="alphaAsc">↓ Alphabetical</option>
|
2017-04-06 19:15:16 +02:00
|
|
|
<option value="alphaDesc">↑ Alphabetical</option>
|
|
|
|
<option value="newest">Newest</option>
|
|
|
|
<option value="oldest">Oldest</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="entriesList">
|
|
|
|
|
|
|
|
</div>
|
2017-04-05 20:48:32 +02:00
|
|
|
</div>
|
2017-04-06 19:15:16 +02:00
|
|
|
<div id="entriesListBackground"></div>
|
2017-04-06 11:44:50 +02:00
|
|
|
|
2017-04-06 19:15:16 +02:00
|
|
|
<button id="hideListButton"></button>
|
2017-04-05 20:48:32 +02:00
|
|
|
|
2017-04-10 12:25:04 +02:00
|
|
|
<div id="zoomControls"><button title="Zoom In" id="zoomInButton"></button><button title="Reset View" id="zoomResetButton"></button><button title="Zoom Out" id="zoomOutButton"></button></div>
|
2017-04-05 00:53:10 +02:00
|
|
|
|
2017-04-06 19:15:16 +02:00
|
|
|
<div id="drawControlsContainer">
|
|
|
|
<a id="drawBackButton" href="./">< Back to the Atlas</a>
|
|
|
|
<div id="drawControls">
|
|
|
|
<div>
|
|
|
|
<button id="undoButton" disabled>Undo</button>
|
|
|
|
<button disabled id="redoButton">Redo</button>
|
|
|
|
</div>
|
|
|
|
<button disabled id="finishButton">Finish (Enter)</button>
|
|
|
|
<button id="resetButton">Reset</button>
|
|
|
|
<label id="highlightUnchartedLabel" title="Highlight uncharted areas of the map" class="checkboxLabel">
|
|
|
|
<input type="checkbox" id="highlightUncharted" checked> Highlight Empty
|
|
|
|
</label>
|
|
|
|
<div id="objectInfo">
|
|
|
|
<label for="nameField">Name</label>
|
|
|
|
<input id="nameField" type="text" value="" placeholder="A short title">
|
|
|
|
<label for="descriptionField">Description</label>
|
|
|
|
<textarea id="descriptionField" placeholder="A short description to be understood by everyone"></textarea>
|
|
|
|
<label for="websiteField">Website</label>
|
|
|
|
<input id="websiteField" type="text" value="" placeholder="https://example.com">
|
|
|
|
<label for="subredditField">Subreddit</label>
|
|
|
|
<input id="subredditField" type="text" value="" placeholder="/r/example">
|
|
|
|
<div id="infoButtons">
|
|
|
|
<button id="cancelButton">Cancel</button>
|
|
|
|
<button id="exportButton">OK</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="hint">
|
|
|
|
<p>You can suggest new entries to the Atlas for art that isn't mapped yet.</p>
|
|
|
|
<p>Please read <a href="https://reddit.com/r/placeAtlas/comments/63afic/how_to_contribute/" target="_blank">this reddit post</a> for instructions.</p>
|
|
|
|
<p>Click anywhere on the image to start drawing a shape.
|
|
|
|
When you're happy with the result, click the "Finish" button above or press the Enter key.</p>
|
|
|
|
<p>You can then add more information about your object.</p>
|
|
|
|
</div>
|
2017-04-04 01:24:46 +02:00
|
|
|
</div>
|
2017-04-06 19:15:16 +02:00
|
|
|
|
2017-04-09 02:08:35 +02:00
|
|
|
<button class="hidden" id="closeObjectsListButton"></button>
|
2017-04-06 19:15:16 +02:00
|
|
|
<div id="objectsList">
|
2017-04-06 13:06:12 +02:00
|
|
|
</div>
|
2017-04-06 19:15:16 +02:00
|
|
|
|
|
|
|
<div id="exportOverlay" class="overlay">
|
|
|
|
<div id="exportWindow">
|
|
|
|
<p>Please copy the text below and submit it as a<br>
|
|
|
|
new text post to <a target="_blank" href="https://www.reddit.com/r/placeAtlas/">/r/placeAtlas</a> on Reddit.</p>
|
|
|
|
<p>I will then check it and add it to the atlas.</p>
|
|
|
|
<textarea cols="50" rows="5" id="exportString"></textarea>
|
|
|
|
<button id="exportCloseButton">Done</button>
|
2017-04-04 01:24:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-04-06 19:15:16 +02:00
|
|
|
<div id="author">
|
|
|
|
Code by <a href="/" target="_blank" rel="author">Roland Rytz</a>. Source on <a target="_blank" href="https://github.com/RolandR/place-atlas">GitHub</a>.
|
2017-04-04 01:24:46 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2017-04-09 02:08:35 +02:00
|
|
|
|
2017-04-09 05:07:46 +02:00
|
|
|
|
2017-04-08 03:27:51 +02:00
|
|
|
<script type="text/javascript" src="./_js/pointInPolygon.js?version=1.0"></script>
|
2017-04-10 12:25:04 +02:00
|
|
|
<script type="text/javascript" src="./_js/atlas.js?version=1.0.50"></script>
|
2017-04-06 12:08:53 +02:00
|
|
|
<script type="text/javascript" src="./_js/view.js?version=1.0.4"></script>
|
2017-04-06 23:20:08 +02:00
|
|
|
<script type="text/javascript" src="./_js/overlap.js?version=1.0.4"></script>
|
2017-04-05 04:01:24 +02:00
|
|
|
<script type="text/javascript" src="./_js/draw.js?version=1.0.3"></script>
|
2017-04-08 03:27:51 +02:00
|
|
|
<script type="text/javascript" src="./_js/main.js?version=1.0.3"></script>
|
2017-04-12 16:05:22 +02:00
|
|
|
|
2017-04-18 03:24:50 +02:00
|
|
|
<script type="text/javascript" src="./_js/stats.js?version=1.0.0"></script>
|
2017-04-12 16:05:22 +02:00
|
|
|
|
2017-04-18 21:50:02 +02:00
|
|
|
<!--
|
2017-04-18 03:43:41 +02:00
|
|
|
<script type="text/javascript" src="./_js/minified.js?version=1.0.99"></script>
|
2017-04-18 21:50:02 +02:00
|
|
|
-->
|
2017-04-18 03:24:50 +02:00
|
|
|
|
2017-04-04 01:24:46 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
2017-04-10 12:25:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|