less copy protection, more size visualization
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

240 lines
8.4 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-fullscreen">
  59. <i class="fas fa-compress" ></i>
  60. <span class="sr-only">Fullscreen</span>
  61. </button>
  62. </span>
  63. <span class="menubar-group">
  64. <button id="menu-clear">
  65. <i class="fas fa-trash-alt"></i>
  66. <span class="sr-only">Clear</span>
  67. </button>
  68. </span>
  69. <span class="menubar-group">
  70. <button id="menu-order-height">
  71. <i class="fas fa-sort-numeric-up"></i>
  72. <span class="sr-only">Sort</span>
  73. </button>
  74. </span>
  75. <span class="menubar-group">
  76. <button id="menu-permalink">
  77. <i class="fas fa-link"></i>
  78. <span class="sr-only">Permalink</span>
  79. </button>
  80. <button id="menu-export">
  81. <i class="fas fa-share"></i>
  82. <span class="sr-only">Export</span>
  83. </button>
  84. <button id="menu-save">
  85. <i class="fas fa-download"></i>
  86. <span class="sr-only">Save</span>
  87. </button>
  88. <button id="menu-load">
  89. <i class="fas fa-upload"></i>
  90. <span class="sr-only">Load</span>
  91. </button>
  92. </span>
  93. <span class="menubar-group" id="spawners">
  94. </span>
  95. </span>
  96. <span class="menubar-group" id="scenes">
  97. <button id="load-scene">
  98. <i class="fas fa-cloud-upload-alt"></i>
  99. <span class="sr-only">Load Scene</span>
  100. </button>
  101. <select id="scene-choices">
  102. </select>
  103. </span>
  104. <span class="menubar-group">
  105. <button id="open-help">
  106. <i class="far fa-question-circle"></i>
  107. <span class="sr-only">Help</span>
  108. </button>
  109. </span>
  110. </div>
  111. <div id="main-area">
  112. <div id="options">
  113. <div class="options-header">World options</div>
  114. <span id="options-world">
  115. <div class="options-label">
  116. World height
  117. </div>
  118. <div class="options-row">
  119. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  120. <select class="options-field-unit" id="options-height-unit">
  121. </select>
  122. </div>
  123. <div class="options-row">
  124. <button class="options-button" id="options-world-fit">Fit to entities</button>
  125. </div>
  126. <div class="options-row">
  127. <label class="switch">
  128. <input type="checkbox" id="options-world-autofit">
  129. <span class="switch-label">Auto-size world</span>
  130. </label>
  131. </div>
  132. <div class="options-row">
  133. <input type="checkbox" id="options-world-show-names">
  134. <label for="options-world-show-names">Names over entities</label>
  135. </div>
  136. <div class="options-row">
  137. <input type="checkbox" id="options-world-show-bottom-names" checked="true">
  138. <label for="options-world-show-bottom-names">Names at bottom</label>
  139. </div>
  140. <div class="options-row">
  141. <input type="checkbox" id="options-world-show-top-names" checked="true">
  142. <label for="options-world-show-top-names">Arrows for very large entities</label>
  143. </div>
  144. <div class="options-row">
  145. <input type="checkbox" id="options-world-show-height-bars">
  146. <label for="options-world-show-height-bars">Height bars</label>
  147. </div>
  148. <div class="options-row">
  149. <input type="checkbox" id="options-world-show-entity-glow">
  150. <label for="options-world-show-entity-glow">Glowing edges</label>
  151. </div>
  152. <div class="options-row">
  153. <input type="checkbox" id="options-world-show-scale-sliders">
  154. <label for="options-world-show-entity-glow">Scale sliders</label>
  155. </div>
  156. <div class="options-row">
  157. <input type="checkbox" id="options-world-show-bottom-cover">
  158. <label for="options-world-show-bottom-cover">Opaque ground</label>
  159. </div>
  160. <div class="options-row">
  161. <input type="checkbox" id="options-world-show-scale" checked="true">
  162. <label for="options-world-show-scale">Scale</label>
  163. </div>
  164. <div class="options-label">
  165. Auto-sizing mode
  166. </div>
  167. <div class="options-row">
  168. <select class="options-selector" id="options-world-autofit-mode">
  169. <option value="max">Max</option>
  170. <option value="arithmetic mean">Arithmetic mean</option>
  171. <option value="geometric mean">Geometric mean</option>
  172. </select>
  173. </div>
  174. </span>
  175. <div class="options-header">Entity options</div>
  176. <div class="options-label">
  177. Ordering
  178. </div>
  179. <div class="options-two-buttons" id="options-ordering">
  180. <button id="options-order-back">Toward back</button>
  181. <div id="options-order-display"></div>
  182. <button id="options-order-forward">Toward front</button>
  183. </div>
  184. <div class="options-label">
  185. Active view
  186. </div>
  187. <select class="options-selector" id="entity-view"></select>
  188. <div class="options-label">
  189. Sizes
  190. </div>
  191. <div class="options-block" id="options-entity-defaults">
  192. </div>
  193. <span id="options-entity">
  194. </span>
  195. <div class="options-header">View options</div>
  196. <span id="options-view">
  197. </span>
  198. <div class="options-header">Attribution</div>
  199. <span id="options-attribution">
  200. <div class="options-label">
  201. Authors
  202. </div>
  203. <span id="options-attribution-authors">
  204. </span>
  205. <div class="options-label">
  206. Owners
  207. </div>
  208. <span id="options-attribution-owners">
  209. </span>
  210. <div class="options-label">
  211. Source
  212. </div>
  213. <span id="options-attribution-source">
  214. </span>
  215. </span>
  216. </div>
  217. <div id="world">
  218. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  219. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  220. <div id="entities">
  221. </div>
  222. <canvas id="display">
  223. </canvas>
  224. <div class="bottom-cover"></div>
  225. </div>
  226. </div>
  227. <a href="https://docs.google.com/forms/d/e/1FAIpQLScRC-okDZ3FtzDTkbqSrpj5_OGD-1Vl-VYizOK3QM6quus11g/viewform?usp=sf_link" class="corner-ribbon bottom-right">Submit your<br>character</a>
  228. </body>
  229. </html>