less copy protection, more size visualization
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

250 řádky
8.9 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Macrovision</title>
  6. <link rel="stylesheet" href="reset.css">
  7. <link rel="stylesheet" href="macrovision.css"><script src="https://kit.fontawesome.com/10a16c6083.js" crossorigin="anonymous"></script>
  8. <script src="math.min.js"></script>
  9. <script src="presets/buildings.js"></script>
  10. <script src="presets/landmarks.js"></script>
  11. <script src="presets/characters.js"></script>
  12. <script src="presets/objects.js"></script>
  13. <script src="presets/food.js"></script>
  14. <script src="presets/naturals.js"></script>
  15. <script src="presets/vehicles.js"></script>
  16. <script src="presets/cities.js"></script>
  17. <script src="presets/pokemon.js"></script>
  18. <script src="presets/scenes.js"></script>
  19. <script src="media/attribution.js"></script>
  20. <script src="macrovision.js"></script>
  21. <meta name="theme-color" content="#000000" />
  22. <meta name="description" content="How big are they anyway?" />
  23. <meta property="og:title" content="Macrovision" />
  24. <meta property="og:description" content="How big are they anyway?" />
  25. <meta property="og:image" content="https://crux.sexy/images/macrovision.png" />
  26. <link rel="icon" href="https://crux.sexy/images/macrovision.ico">
  27. </head>
  28. <body class="toggle-bottom-name toggle-top-name toggle-scale">
  29. <div id="help">
  30. <h1>Discord</h1>
  31. <p>
  32. <ul>
  33. <li><a href="https://discord.gg/vqcKVV6">Join the Discord server!</a></li>
  34. </ul>
  35. </p>
  36. <h1>Navigation</h1>
  37. <p>
  38. <ul>
  39. <li>Scroll to zoom in/out. Entities will go off the top of the screen if they're in the air and you zoom in!</li>
  40. <li>Alt-scroll to zoom in/out and preserve positions on the screen.</li>
  41. <li>Shift-scroll with an entity selected to scale it.</li>
  42. </ul>
  43. </p>
  44. <h1>Adding/removing entities</h1>
  45. <p>
  46. <ul>
  47. <li>Drag something to the top of the screen to delete it, or press the delete key</li>
  48. </ul>
  49. </p>
  50. <h1>Adding your own character</h1>
  51. <p>
  52. <a href="https://docs.google.com/forms/d/1esagCHSNd1kvCFoTGfCacaHXe2L8dKalqgKEHqHgGuM/edit">Submit your stuff here!</a>
  53. </p>
  54. <button id="close-help">Close</button>
  55. </div>
  56. <div id="menubar">
  57. <span class="menubar-group">
  58. <button id="menu-toggle-sidebar">
  59. <i class="fas fa-chevron-circle-down rotate-backward transitions"></i>
  60. <span class="sr-only">Toggle Sidebar</span>
  61. </button>
  62. <button id="menu-fullscreen">
  63. <i class="fas fa-compress" ></i>
  64. <span class="sr-only">Fullscreen</span>
  65. </button>
  66. </span>
  67. <span class="menubar-group">
  68. <button id="menu-clear">
  69. <i class="fas fa-trash-alt"></i>
  70. <span class="sr-only">Clear</span>
  71. </button>
  72. </span>
  73. <span class="menubar-group">
  74. <button id="menu-order-height">
  75. <i class="fas fa-sort-numeric-up"></i>
  76. <span class="sr-only">Sort</span>
  77. </button>
  78. </span>
  79. <span class="menubar-group">
  80. <button id="menu-permalink">
  81. <i class="fas fa-link"></i>
  82. <span class="sr-only">Permalink</span>
  83. </button>
  84. <button id="menu-export">
  85. <i class="fas fa-share"></i>
  86. <span class="sr-only">Export</span>
  87. </button>
  88. <button id="menu-save">
  89. <i class="fas fa-download"></i>
  90. <span class="sr-only">Save</span>
  91. </button>
  92. <button id="menu-load">
  93. <i class="fas fa-upload"></i>
  94. <span class="sr-only">Load</span>
  95. </button>
  96. </span>
  97. <span class="menubar-group" id="spawners">
  98. </span>
  99. </span>
  100. <span class="menubar-group" id="scenes">
  101. <button id="load-scene">
  102. <i class="fas fa-cloud-upload-alt"></i>
  103. <span class="sr-only">Load Scene</span>
  104. </button>
  105. <select id="scene-choices">
  106. </select>
  107. </span>
  108. <span class="menubar-group">
  109. <button id="open-help">
  110. <i class="far fa-question-circle"></i>
  111. <span class="sr-only">Help</span>
  112. </button>
  113. </span>
  114. </div>
  115. <div id="main-area">
  116. <div id="options" class="">
  117. <div class="options-header">World options</div>
  118. <span id="options-world">
  119. <div class="options-label">
  120. World height
  121. </div>
  122. <div class="options-row">
  123. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  124. <select class="options-field-unit" id="options-height-unit">
  125. </select>
  126. </div>
  127. <div class="options-row">
  128. <button class="options-button" id="options-world-fit">Fit to entities</button>
  129. </div>
  130. <div class="options-row">
  131. <label class="switch">
  132. <input type="checkbox" id="options-world-autofit">
  133. <span class="switch-label">Auto-size world</span>
  134. </label>
  135. </div>
  136. <div class="options-row">
  137. <input type="checkbox" id="options-show-extra">
  138. <label for="options-show-extra">Show extra options</label>
  139. </div>
  140. <div class="options-block options-block-optional">
  141. <div class="options-row">
  142. <input type="checkbox" id="options-world-show-names">
  143. <label for="options-world-show-names">Names over entities</label>
  144. </div>
  145. <div class="options-row">
  146. <input type="checkbox" id="options-world-show-bottom-names" checked="true">
  147. <label for="options-world-show-bottom-names">Names at bottom</label>
  148. </div>
  149. <div class="options-row">
  150. <input type="checkbox" id="options-world-show-top-names" checked="true">
  151. <label for="options-world-show-top-names">Arrows for very large entities</label>
  152. </div>
  153. <div class="options-row">
  154. <input type="checkbox" id="options-world-show-height-bars">
  155. <label for="options-world-show-height-bars">Height bars</label>
  156. </div>
  157. <div class="options-row">
  158. <input type="checkbox" id="options-world-show-entity-glow">
  159. <label for="options-world-show-entity-glow">Glowing edges</label>
  160. </div>
  161. <div class="options-row">
  162. <input type="checkbox" id="options-world-show-scale-sliders">
  163. <label for="options-world-show-scale-sliders">Scale sliders</label>
  164. </div>
  165. <div class="options-row">
  166. <input type="checkbox" id="options-world-show-bottom-cover">
  167. <label for="options-world-show-bottom-cover">Opaque ground</label>
  168. </div>
  169. <div class="options-row">
  170. <input type="checkbox" id="options-world-show-scale" checked="true">
  171. <label for="options-world-show-scale">Scale</label>
  172. </div>
  173. </div>
  174. <div class="options-label">
  175. Auto-sizing mode
  176. </div>
  177. <div class="options-row">
  178. <select class="options-selector" id="options-world-autofit-mode">
  179. <option value="max">Max</option>
  180. <option value="arithmetic mean">Arithmetic mean</option>
  181. <option value="geometric mean">Geometric mean</option>
  182. </select>
  183. </div>
  184. </span>
  185. <div class="options-header">Entity options</div>
  186. <div class="options-label">
  187. Ordering
  188. </div>
  189. <div class="options-two-buttons" id="options-ordering">
  190. <button id="options-order-back">Toward back</button>
  191. <div id="options-order-display"></div>
  192. <button id="options-order-forward">Toward front</button>
  193. </div>
  194. <div class="options-label">
  195. Active view
  196. </div>
  197. <select class="options-selector" id="entity-view"></select>
  198. <div class="options-label">
  199. Sizes
  200. </div>
  201. <div class="options-block" id="options-entity-defaults">
  202. </div>
  203. <span id="options-entity">
  204. </span>
  205. <div class="options-header">View options</div>
  206. <span id="options-view">
  207. </span>
  208. <div class="options-header">Attribution</div>
  209. <span id="options-attribution">
  210. <div class="options-label">
  211. Authors
  212. </div>
  213. <span id="options-attribution-authors">
  214. </span>
  215. <div class="options-label">
  216. Owners
  217. </div>
  218. <span id="options-attribution-owners">
  219. </span>
  220. <div class="options-label">
  221. Source
  222. </div>
  223. <span id="options-attribution-source">
  224. </span>
  225. </span>
  226. <a href="https://docs.google.com/forms/d/e/1FAIpQLScRC-okDZ3FtzDTkbqSrpj5_OGD-1Vl-VYizOK3QM6quus11g/viewform?usp=sf_link" class="options-banner">Submit your<br>character!</a>
  227. </div>
  228. <div id="world">
  229. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  230. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  231. <div id="entities">
  232. </div>
  233. <canvas id="display">
  234. </canvas>
  235. <div class="bottom-cover"></div>
  236. </div>
  237. </div>
  238. </body>
  239. </html>