less copy protection, more size visualization
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

259 lignes
9.5 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/characters.js"></script>
  10. <script src="presets/buildings.js"></script>
  11. <script src="presets/landmarks.js"></script>
  12. <script src="presets/species.js"></script>
  13. <script src="presets/objects.js"></script>
  14. <script src="presets/fiction.js"></script>
  15. <script src="presets/food.js"></script>
  16. <script src="presets/naturals.js"></script>
  17. <script src="presets/vehicles.js"></script>
  18. <script src="presets/cities.js"></script>
  19. <script src="presets/pokemon.js"></script>
  20. <script src="presets/scenes.js"></script>
  21. <script src="media/attribution.js"></script>
  22. <script src="macrovision.js"></script>
  23. <meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0"/>
  24. <meta name="theme-color" content="#000000" />
  25. <meta name="description" content="How big are they anyway?" />
  26. <meta property="og:title" content="Macrovision" />
  27. <meta property="og:description" content="How big are they anyway?" />
  28. <meta property="og:image" content="https://crux.sexy/images/macrovision.png" />
  29. <link rel="icon" href="https://crux.sexy/images/macrovision.ico">
  30. </head>
  31. <body class="toggle-bottom-name toggle-top-name toggle-scale">
  32. <input hidden="true" id="file-upload-picker" type='file' multiple='true'>
  33. <div id="help">
  34. <h1>Navigation</h1>
  35. <p>
  36. <ul>
  37. <li>Drag to move entities</li>
  38. <li>Alt-drag to ignore snapping and bounds</li>
  39. </ul>
  40. </p>
  41. <p>
  42. <ul>
  43. <li>Scroll to zoom.</li>
  44. <li>Alt-scroll to zoom preserve positions on the screen.</li>
  45. <li>Shift-scroll with an entity selected to scale it.</li>
  46. <li>Shift-scroll without a selection to move horizontally.</li>
  47. </ul>
  48. </p>
  49. <h1>Adding/removing entities</h1>
  50. <p>
  51. <ul>
  52. <li>Add new entities with the selection boxes at the top</li>
  53. <li>Remove the selected entity with the Delete key</li>
  54. <li>Alternatively, drag them off the top of the screen</li>
  55. </ul>
  56. </p>
  57. <h1>Sharing</h1>
  58. <p>
  59. <ul>
  60. <li>You can copy a screenshot to your clipboard or save an image to your device in the topbar</li>
  61. <li>To share a scene with others, you can get a link with the Permalink button</li>
  62. <li>Alternatively, you can export the scene as text, or import one from your clipboard</li>
  63. <li>You can also save one scene to your browser and load it later</li>
  64. <li>The current scene is autosaved when closing the tool. You can reload it from the menu.</li>
  65. </ul>
  66. </p>
  67. <button id="close-help">Close</button>
  68. </div>
  69. <div id="popout-menu">
  70. </div>
  71. <div id="menubar">
  72. <button id="toggle-menu">
  73. <i class="fas fa-bars"></i>
  74. </button>
  75. <span class="menubar-group">
  76. <button id="copy-screenshot">
  77. <i class="fas fa-camera"></i>
  78. </button>
  79. <button id="save-screenshot">
  80. <i class="fas fa-download"></i>
  81. </button>
  82. </span>
  83. <span class="menubar-group" id="spawners">
  84. </span>
  85. <span class="menubar-group">
  86. <button id="open-help">
  87. <i class="far fa-question-circle"></i>
  88. <span class="sr-only">Help</span>
  89. </button>
  90. </span>
  91. </div>
  92. <div id="main-area">
  93. <div id="options" class="">
  94. <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>
  95. <h3 class="options-header">World Info</h3>
  96. <span id="options-world">
  97. <div class="options-label">
  98. World height
  99. </div>
  100. <div class="options-row">
  101. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  102. <select class="options-field-unit" id="options-height-unit">
  103. </select>
  104. </div>
  105. <div class="options-row">
  106. <button class="options-button" id="options-world-fit">Fit to entities</button>
  107. </div>
  108. <div class="options-row">
  109. <input type="checkbox" id="options-show-extra">
  110. <label for="options-show-extra">Show extra options</label>
  111. </div>
  112. <div class="options-block options-block-optional">
  113. <div class="options-row">
  114. <input type="checkbox" id="options-world-autofit">
  115. <label for="options-world-autofit">Auto-size world</label>
  116. </div>
  117. <div class="options-row">
  118. <input type="checkbox" id="options-world-show-names">
  119. <label for="options-world-show-names">Names over entities</label>
  120. </div>
  121. <div class="options-row">
  122. <input type="checkbox" id="options-world-show-bottom-names" checked="true">
  123. <label for="options-world-show-bottom-names">Names at bottom</label>
  124. </div>
  125. <div class="options-row">
  126. <input type="checkbox" id="options-world-show-top-names" checked="true">
  127. <label for="options-world-show-top-names">Arrows for very large entities</label>
  128. </div>
  129. <div class="options-row">
  130. <input type="checkbox" id="options-world-show-height-bars">
  131. <label for="options-world-show-height-bars">Height bars</label>
  132. </div>
  133. <div class="options-row">
  134. <input type="checkbox" id="options-world-show-entity-glow">
  135. <label for="options-world-show-entity-glow">Glowing edges</label>
  136. </div>
  137. <div class="options-row">
  138. <input type="checkbox" id="options-world-show-bottom-cover">
  139. <label for="options-world-show-bottom-cover">Opaque ground</label>
  140. </div>
  141. <div class="options-row">
  142. <input type="checkbox" id="options-world-show-scale" checked="true">
  143. <label for="options-world-show-scale">Scale</label>
  144. </div>
  145. </div>
  146. </span>
  147. <div class="options-label">
  148. Selection:
  149. </div>
  150. <div class="options-row">
  151. <select id="options-selected-entity" class="options-selector">
  152. <option id="options-selected-entity-none">None</option>
  153. </select>
  154. </div>
  155. <div class="options-row">
  156. <button id="delete-entity">
  157. <i class="fas fa-trash-alt symbol-button"></i>
  158. <span class="sr-only">Delete Entity</span>
  159. </button>
  160. </div>
  161. <h3 class="options-header" id="entity-category-header">Entity Options</h3>
  162. <div class="options-category" id="entity-category">
  163. <div class="options-label">
  164. View
  165. </div>
  166. <select class="options-selector" id="entity-view"></select>
  167. <div class="options-label">
  168. Ordering
  169. </div>
  170. <div class="options-two-buttons" id="options-ordering">
  171. <button id="options-order-back">Toward back</button>
  172. <div id="options-order-display"></div>
  173. <button id="options-order-forward">Toward front</button>
  174. </div>
  175. <div class="options-label">
  176. Sizes
  177. </div>
  178. <div class="options-block" id="options-entity-defaults">
  179. </div>
  180. <span id="options-entity">
  181. </span>
  182. </div>
  183. <h3 class="options-header" id="view-category-header">View Options</h3>
  184. <div class="options-category" id="view-category">
  185. <span id="options-view">
  186. </span>
  187. </div>
  188. <h3 class="options-header" id="attribution-category-header" >Source</h3>
  189. <span id="options-attribution">
  190. <div class="options-label">
  191. Authors
  192. </div>
  193. <span id="options-attribution-authors">
  194. </span>
  195. <div class="options-label">
  196. Owners
  197. </div>
  198. <span id="options-attribution-owners">
  199. </span>
  200. <div class="options-label">
  201. Source
  202. </div>
  203. <span id="options-attribution-source">
  204. </span>
  205. </span>
  206. <h3 class="options-header" id="scenes-category-header">Preset Scenes</h3>
  207. <span id="options-scenes">
  208. <div class="options-row">
  209. <select class="options-field-picker" id="scene-choices">
  210. </select>
  211. </div>
  212. <div class="options-row">
  213. <button id="load-scene">
  214. <i class="fas fa-play-circle symbol-button"></i>
  215. <span class="sr-only">Load Scene</span>
  216. </button>
  217. </div>
  218. </span>
  219. </div>
  220. <div id="world">
  221. <button class="scroll-button" id="zoom-in">
  222. <i class="fas fa-search-plus"></i>
  223. </button>
  224. <button class="scroll-button" id="zoom-out">
  225. <i class="fas fa-search-minus"></i>
  226. </button>
  227. <button class="scroll-button" id="scroll-left">
  228. <i class="fas fa-arrow-left"></i>
  229. </button>
  230. <button class="scroll-button" id="scroll-right">
  231. <i class="fas fa-arrow-right"></i>
  232. </button>
  233. <button class="scroll-button" disabled="true" id="shrink">
  234. <i class="fas fa-compress-arrows-alt"></i>
  235. </button>
  236. <button class="scroll-button" disabled="true" id="grow">
  237. <i class="fas fa-expand-arrows-alt"></i>
  238. </button>
  239. <button class="scroll-button" disabled="true" id="fit">
  240. <i class="fas fa-search"></i>
  241. </button>
  242. <div id="entities">
  243. </div>
  244. <canvas id="display">
  245. </canvas>
  246. <div class="bottom-cover"></div>
  247. </div>
  248. </div>
  249. </body>
  250. </html>