diff --git a/web/_js/atlas.js b/web/_js/atlas.js index aee13a77..d5b771e7 100644 --- a/web/_js/atlas.js +++ b/web/_js/atlas.js @@ -509,7 +509,6 @@ var atlas = [ { "id": 454, "submitted_by": "HurrikateOsu", "name": "NikoPog", "description": "Niko, the cat-person, from the video game 'Oneshot' looking in a state of awe.", "website": "", "subreddit": "/r/oneshot", "center": [ 1092.5, 1652.5 ], "path": [ [ 1080.5, 1633.5 ], [ 1081.5, 1633.5 ], [ 1081.5, 1634.5 ], [ 1082.5, 1634.5 ], [ 1083.5, 1634.5 ], [ 1083.5, 1635.5 ], [ 1084.5, 1635.5 ], [ 1084.5, 1636.5 ], [ 1085.5, 1636.5 ], [ 1085.5, 1637.5 ], [ 1086.5, 1637.5 ], [ 1087.5, 1637.5 ], [ 1089.5, 1637.5 ], [ 1089.5, 1637.5 ], [ 1090.5, 1637.5 ], [ 1091.5, 1637.5 ], [ 1092.5, 1637.5 ], [ 1092.5, 1638.5 ], [ 1095.5, 1638.5 ], [ 1096.5, 1638.5 ], [ 1097.5, 1639.5 ], [ 1100.5, 1639.5 ], [ 1100.5, 1640.5 ], [ 1102.5, 1640.5 ], [ 1102.5, 1640.5 ], [ 1102.5, 1639.5 ], [ 1103.5, 1639.5 ], [ 1105.5, 1639.5 ], [ 1105.5, 1638.5 ], [ 1112.5, 1638.5 ], [ 1112.5, 1645.5 ], [ 1111.5, 1645.5 ], [ 1111.5, 1648.5 ], [ 1110.5, 1649.5 ], [ 1110.5, 1650.5 ], [ 1120.5, 1658.5 ], [ 1120.5, 1662.5 ], [ 1119.5, 1663.5 ], [ 1117.5, 1663.5 ], [ 1117.5, 1664.5 ], [ 1112.5, 1664.5 ], [ 1112.5, 1663.5 ], [ 1111.5, 1663.5 ], [ 1108.5, 1663.5 ], [ 1108.5, 1662.5 ], [ 1107.5, 1662.5 ], [ 1105.5, 1662.5 ], [ 1105.5, 1663.5 ], [ 1105.5, 1664.5 ], [ 1106.5, 1664.5 ], [ 1106.5, 1667.5 ], [ 1105.5, 1666.5 ], [ 1103.5, 1662.5 ], [ 1102.5, 1662.5 ], [ 1102.5, 1664.5 ], [ 1099.5, 1664.5 ], [ 1099.5, 1666.5 ], [ 1094.5, 1666.5 ], [ 1094.5, 1667.5 ], [ 1092.5, 1667.5 ], [ 1092.5, 1668.5 ], [ 1091.5, 1668.5 ], [ 1091.5, 1669.5 ], [ 1091.5, 1668.5 ], [ 1090.5, 1668.5 ], [ 1088.5, 1668.5 ], [ 1088.5, 1669.5 ], [ 1087.5, 1669.5 ], [ 1087.5, 1670.5 ], [ 1086.5, 1669.5 ], [ 1085.5, 1669.5 ], [ 1085.5, 1670.5 ], [ 1084.5, 1669.5 ], [ 1083.5, 1669.5 ], [ 1083.5, 1670.5 ], [ 1082.5, 1670.5 ], [ 1079.5, 1667.5 ], [ 1079.5, 1664.5 ], [ 1080.5, 1663.5 ], [ 1080.5, 1661.5 ], [ 1079.5, 1661.5 ], [ 1078.5, 1661.5 ], [ 1078.5, 1662.5 ], [ 1077.5, 1662.5 ], [ 1077.5, 1664.5 ], [ 1076.5, 1664.5 ], [ 1076.5, 1665.5 ], [ 1075.5, 1666.5 ], [ 1075.5, 1664.5 ], [ 1075.5, 1664.5 ], [ 1076.5, 1664.5 ], [ 1076.5, 1661.5 ], [ 1076.5, 1660.5 ], [ 1074.5, 1660.5 ], [ 1073.5, 1660.5 ], [ 1073.5, 1661.5 ], [ 1072.5, 1661.5 ], [ 1072.5, 1662.5 ], [ 1071.5, 1662.5 ], [ 1072.5, 1660.5 ], [ 1073.5, 1659.5 ], [ 1074.5, 1658.5 ], [ 1074.5, 1657.5 ], [ 1072.5, 1657.5 ], [ 1072.5, 1656.5 ], [ 1070.5, 1656.5 ], [ 1070.5, 1655.5 ], [ 1068.5, 1655.5 ], [ 1068.5, 1654.5 ], [ 1067.5, 1654.5 ], [ 1067.5, 1653.5 ], [ 1065.5, 1653.5 ], [ 1065.5, 1652.5 ], [ 1064.5, 1652.5 ], [ 1064.5, 1651.5 ], [ 1063.5, 1651.5 ], [ 1063.5, 1650.5 ], [ 1062.5, 1650.5 ], [ 1062.5, 1649.5 ], [ 1063.5, 1649.5 ], [ 1063.5, 1647.5 ], [ 1064.5, 1647.5 ], [ 1065.5, 1647.5 ], [ 1066.5, 1647.5 ], [ 1066.5, 1646.5 ], [ 1069.5, 1646.5 ], [ 1069.5, 1645.5 ], [ 1073.5, 1645.5 ], [ 1073.5, 1644.5 ], [ 1077.5, 1644.5 ], [ 1077.5, 1637.5 ], [ 1078.5, 1635.5 ], [ 1079.5, 1634.5 ], [ 1080.5, 1633.5 ], [ 1086.5, 1637.5 ], [ 1092.5, 1637.5 ], [ 1092.5, 1638.5 ], [ 1097.5, 1638.5 ] ] }, { "id": 459, "submitted_by": "BigPortal", "name": "Wavetro", "description": "Two characters from ex-YouTuber Wavetro's final series, 'the untitled Teddy and Ben show'. The fish Teddy is in the background and the stickman Ben is in the front. ", "website": "https://www.youtube.com/channel/UCyFcxmkcQernyo0PmddhtGA", "subreddit": "r/wavetro", "center": [ 1056.5, 407.5 ], "path": [ [ 1062.5, 413.5 ], [ 1062.5, 402.5 ], [ 1061.5, 401.5 ], [ 1050.5, 401.5 ], [ 1050.5, 413.5 ], [ 1062.5, 413.5 ] ]}, { "id": 462, "submitted_by": "Beegrene", "name": "Octavia", "description": "Octavia is a minor character from My Little Pony Friendship is Magic. She is often seen playing various stringed instruments. The '2SET' in her mane refers to TwoSet Violin, a comedy duo.", "website": "", "subreddit": "/r/mylittlepony", "center": [ 1343.5, 1985.5 ], "path": [ [ 1316.5, 1973.5 ], [ 1370.5, 1973.5 ], [ 1370.5, 1997.5 ], [ 1316.5, 1997.5 ], [ 1316.5, 1973.5 ] ] }, -{ "id": 463, "submitted_by": "xXLInkster17Xx", "name": "Little Big Planet","description": "r/LittleBigPlanet was created by several dedicated members of the Little Big Planet Union, it includes the well-known Little Big Planet tree, a sackboy face to the right and the r/LittleBigPlanet sub-reddit text below the tree which used to read \"My Little Big Planet\" but was changed due to pixel limitations.", "website": "https://littlebigplanet.com/", "subreddit": "r/LittleBigPlanet", "center": [ 1046.5, 385.5 ], "path": [ [ 1064.5, 400.5 ], [ 1033.5, 400.5 ], [ 1033.5, 366.5 ], [ 1051.5, 366.5 ], [ 1051.5, 373.5 ], [ 1062.5, 373.5 ], [ 1062.5, 379.5 ], [ 1051.5, 379.5 ], [ 1051.5, 387.5 ], [ 1064.5, 387.5 ], [ 1064.5, 400.5 ] ] }, {"id": "twpfdq", "submitted_by": "sad_lagoon", "name": "Fuck NFTs", "description": "enough said", "website": "", "subreddit": "/r/fuckNFTs", "center": [1641.5, 1670.5], "path": [[1625.5, 1659.5], [1657.5, 1659.5], [1657.5, 1681.5], [1625.5, 1681.5], [1625.5, 1659.5]]}, {"id": "twpfd9", "submitted_by": "gamrin", "name": "Rijksoverheidslogo", "description": "The logo of the Dutch Government. All communication with civilians features this crest.", "website": "https://en.wikipedia.org/wiki/Politics_of_the_Netherlands#Cabinet", "subreddit": "/r/PlaceNL", "center": [747.5, 12.5], "path": [[736.5, 0.5], [757.5, 0.5], [757.5, 23.5], [736.5, 23.5]]}, {"id": "twpfaj", "submitted_by": "radostin04", "name": "r/furry snoo", "description": "The snoo of r/furry, reddit's largest furry subreddit. Despite symbolying r/furry, it was actually built by r/furry_irl, due to their more coordinated team. A similar logo was also present in the original r/place.", "website": "", "subreddit": "r/furry", "center": [1762.5, 916.5], "path": [[1750.5, 901.5], [1773.5, 901.5], [1774.5, 902.5], [1775.5, 911.5], [1773.5, 912.5], [1774.5, 916.5], [1777.5, 920.5], [1777.5, 926.5], [1775.5, 927.5], [1775.5, 937.5], [1774.5, 937.5], [1772.5, 935.5], [1771.5, 935.5], [1771.5, 929.5], [1768.5, 929.5], [1766.5, 927.5], [1759.5, 927.5], [1756.5, 930.5], [1749.5, 930.5], [1749.5, 901.5]]}, @@ -1278,6 +1277,7 @@ var atlas = [ {"id": "twl26t", "submitted_by": "karebear64_", "name": "MSI if Album Cover", "description": "The fourth studio album released by Mindless self Indulgence in April 2008! Although the picture was taken during the raid, there are many example of the finished product in r/MSI :)", "website": "[https://en.wikipedia.org/wiki/If_(Mindless_Self_Indulgence_album)](https://en.wikipedia.org/wiki/If_(Mindless_Self_Indulgence_album))", "subreddit": "r/MSI", "center": [1894.5, 1237.5], "path": [[1903.5, 1246.5], [1903.5, 1228.5], [1884.5, 1228.5], [1884.5, 1246.5], [1894.5, 1246.5], [1896.5, 1246.5]]}, {"id": "twl25g", "submitted_by": "aidend_27", "name": "Red Rising", "description": "Dedicated to the critically acclaimed Sci-Fi book series by Pierce Brown. ", "website": "https://www.piercebrown.com/", "subreddit": "/r/redrising", "center": [889.5, 430.5], "path": [[865.5, 412.5], [866.5, 448.5], [912.5, 448.5], [911.5, 412.5], [866.5, 412.5]]}, {"id": "twl23i", "submitted_by": "MinTDotJ", "name": "NootNToot", "description": "Small YouTube content creator that makes content primarily on the Minetown Minecraft server.", "website": "https://www.youtube.com/channel/UCcxO9zgG-i9mXQsTWGPlJhA", "subreddit": "r/minetown", "center": [900.5, 572.5], "path": [[896.5, 568.5], [903.5, 568.5], [903.5, 575.5], [896.5, 575.5], [896.5, 568.5]]}, + ]; //console.log("There are "+atlas.length+" entries in the Atlas."); diff --git a/web/_js/main.js b/web/_js/main.js index 217f2e95..a6af07bc 100644 --- a/web/_js/main.js +++ b/web/_js/main.js @@ -89,7 +89,7 @@ function init(){ var desiredZoom; var zoomAnimationFrame; - var mode = "view"; + var mode = "overlap"; var args = window.location.search; if(args){ diff --git a/web/_js/overlap.js b/web/_js/overlap.js index 225cf330..3bcc4482 100644 --- a/web/_js/overlap.js +++ b/web/_js/overlap.js @@ -151,6 +151,7 @@ function initOverlap(){ } html += ''+entry.subreddit+''; } + html+="
id: "+entry.id+"
"; element.innerHTML += html; return element;