less copy protection, more size visualization
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

195 Zeilen
7.1 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/fiction.js"></script>
  14. <script src="presets/food.js"></script>
  15. <script src="presets/naturals.js"></script>
  16. <script src="presets/vehicles.js"></script>
  17. <script src="presets/cities.js"></script>
  18. <script src="presets/pokemon.js"></script>
  19. <script src="presets/scenes.js"></script>
  20. <script src="media/attribution.js"></script>
  21. <script src="macrovision.js"></script>
  22. <meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0"/>
  23. <meta name="theme-color" content="#000000" />
  24. <meta name="description" content="How big are they anyway?" />
  25. <meta property="og:title" content="Macrovision" />
  26. <meta property="og:description" content="How big are they anyway?" />
  27. <meta property="og:image" content="https://crux.sexy/images/macrovision.png" />
  28. <link rel="icon" href="https://crux.sexy/images/macrovision.ico">
  29. </head>
  30. <body class="toggle-bottom-name toggle-top-name toggle-scale">
  31. <div id="help">
  32. <h1>Menu</h1>
  33. <div id="help-icons">
  34. </div>
  35. <h1>Navigation</h1>
  36. <p>
  37. <ul>
  38. <li>Scroll to zoom in/out.</li>
  39. <li>Alt-scroll to zoom in/out and preserve positions on the screen.</li>
  40. <li>Shift-scroll with an entity selected to scale it.</li>
  41. </ul>
  42. </p>
  43. <h1>Adding/removing entities</h1>
  44. <p>
  45. <ul>
  46. <li>Remove the selected entity with the Delete key</li>
  47. <li>Alternatively, drag them off the top of the screen</li>
  48. </ul>
  49. </p>
  50. <button id="close-help">Close</button>
  51. </div>
  52. <div id="menubar">
  53. <span class="menubar-group" id="spawners">
  54. </span>
  55. <span class="menubar-group" id="scenes">
  56. <button id="load-scene">
  57. <i class="fas fa-cloud-upload-alt"></i>
  58. <span class="sr-only">Load Scene</span>
  59. </button>
  60. <select id="scene-choices">
  61. </select>
  62. </span>
  63. <span class="menubar-group">
  64. <button id="open-help">
  65. <i class="far fa-question-circle"></i>
  66. <span class="sr-only">Help</span>
  67. </button>
  68. </span>
  69. </div>
  70. <div id="main-area">
  71. <div id="options" class="">
  72. <h3 class="options-header">World options</h3>
  73. <span id="options-world">
  74. <div class="options-label">
  75. World height
  76. </div>
  77. <div class="options-row">
  78. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  79. <select class="options-field-unit" id="options-height-unit">
  80. </select>
  81. </div>
  82. <div class="options-row">
  83. <button class="options-button" id="options-world-fit">Fit to entities</button>
  84. </div>
  85. <div class="options-row">
  86. <label class="switch">
  87. <input type="checkbox" id="options-world-autofit">
  88. <span class="switch-label">Auto-size world</span>
  89. </label>
  90. </div>
  91. <div class="options-row">
  92. <input type="checkbox" id="options-show-extra">
  93. <label for="options-show-extra">Show extra options</label>
  94. </div>
  95. <div class="options-block options-block-optional">
  96. <div class="options-row">
  97. <input type="checkbox" id="options-world-show-names">
  98. <label for="options-world-show-names">Names over entities</label>
  99. </div>
  100. <div class="options-row">
  101. <input type="checkbox" id="options-world-show-bottom-names" checked="true">
  102. <label for="options-world-show-bottom-names">Names at bottom</label>
  103. </div>
  104. <div class="options-row">
  105. <input type="checkbox" id="options-world-show-top-names" checked="true">
  106. <label for="options-world-show-top-names">Arrows for very large entities</label>
  107. </div>
  108. <div class="options-row">
  109. <input type="checkbox" id="options-world-show-height-bars">
  110. <label for="options-world-show-height-bars">Height bars</label>
  111. </div>
  112. <div class="options-row">
  113. <input type="checkbox" id="options-world-show-entity-glow">
  114. <label for="options-world-show-entity-glow">Glowing edges</label>
  115. </div>
  116. <div class="options-row">
  117. <input type="checkbox" id="options-world-show-scale-sliders">
  118. <label for="options-world-show-scale-sliders">Scale sliders</label>
  119. </div>
  120. <div class="options-row">
  121. <input type="checkbox" id="options-world-show-bottom-cover">
  122. <label for="options-world-show-bottom-cover">Opaque ground</label>
  123. </div>
  124. <div class="options-row">
  125. <input type="checkbox" id="options-world-show-scale" checked="true">
  126. <label for="options-world-show-scale">Scale</label>
  127. </div>
  128. </div>
  129. </span>
  130. <h3 class="options-header">Entity options</h3>
  131. <div class="options-label">
  132. Ordering
  133. </div>
  134. <div class="options-two-buttons" id="options-ordering">
  135. <button id="options-order-back">Toward back</button>
  136. <div id="options-order-display"></div>
  137. <button id="options-order-forward">Toward front</button>
  138. </div>
  139. <div class="options-label">
  140. Active view
  141. </div>
  142. <select class="options-selector" id="entity-view"></select>
  143. <div class="options-label">
  144. Sizes
  145. </div>
  146. <div class="options-block" id="options-entity-defaults">
  147. </div>
  148. <span id="options-entity">
  149. </span>
  150. <h3 class="options-header">View options</h3>
  151. <span id="options-view">
  152. </span>
  153. <h3 class="options-header">Attribution</h3>
  154. <span id="options-attribution">
  155. <div class="options-label">
  156. Authors
  157. </div>
  158. <span id="options-attribution-authors">
  159. </span>
  160. <div class="options-label">
  161. Owners
  162. </div>
  163. <span id="options-attribution-owners">
  164. </span>
  165. <div class="options-label">
  166. Source
  167. </div>
  168. <span id="options-attribution-source">
  169. </span>
  170. </span>
  171. <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>
  172. </div>
  173. <div id="world">
  174. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  175. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  176. <div id="entities">
  177. </div>
  178. <canvas id="display">
  179. </canvas>
  180. <div class="bottom-cover"></div>
  181. </div>
  182. </div>
  183. </body>
  184. </html>