less copy protection, more size visualization
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

207 строки
7.6 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. <input type="checkbox" id="options-show-extra">
  87. <label for="options-show-extra">Show extra options</label>
  88. </div>
  89. <div class="options-block options-block-optional">
  90. <div class="options-row">
  91. <label class="switch">
  92. <input type="checkbox" id="options-world-autofit">
  93. <span class="switch-label">Auto-size world</span>
  94. </label>
  95. </div>
  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. <div class="options-label">
  131. Selected Entity
  132. </div>
  133. <div class="options-row">
  134. <select id="options-selected-entity" class="options-selector">
  135. <option id="options-selected-entity-none">None</option>
  136. </select>
  137. </div>
  138. <h3 class="options-header" id="entity-category-header">Entity options</h3>
  139. <div class="options-category" id="entity-category">
  140. <div class="options-label">
  141. Ordering
  142. </div>
  143. <div class="options-two-buttons" id="options-ordering">
  144. <button id="options-order-back">Toward back</button>
  145. <div id="options-order-display"></div>
  146. <button id="options-order-forward">Toward front</button>
  147. </div>
  148. <div class="options-label">
  149. View
  150. </div>
  151. <select class="options-selector" id="entity-view"></select>
  152. <div class="options-label">
  153. Sizes
  154. </div>
  155. <div class="options-block" id="options-entity-defaults">
  156. </div>
  157. <span id="options-entity">
  158. </span>
  159. </div>
  160. <h3 class="options-header" id="view-category-header">View options</h3>
  161. <div class="options-category" id="view-category">
  162. <span id="options-view">
  163. </span>
  164. </div>
  165. <h3 class="options-header" id="attribution-category-header" >Attribution</h3>
  166. <span id="options-attribution">
  167. <div class="options-label">
  168. Authors
  169. </div>
  170. <span id="options-attribution-authors">
  171. </span>
  172. <div class="options-label">
  173. Owners
  174. </div>
  175. <span id="options-attribution-owners">
  176. </span>
  177. <div class="options-label">
  178. Source
  179. </div>
  180. <span id="options-attribution-source">
  181. </span>
  182. </span>
  183. <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>
  184. </div>
  185. <div id="world">
  186. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  187. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  188. <div id="entities">
  189. </div>
  190. <canvas id="display">
  191. </canvas>
  192. <div class="bottom-cover"></div>
  193. </div>
  194. </div>
  195. </body>
  196. </html>