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

234 строки
8.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/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. <div id="help">
  33. <h1>Menu</h1>
  34. <div id="help-icons">
  35. </div>
  36. <h1>Navigation</h1>
  37. <p>
  38. <ul>
  39. <li>Drag to move entities</li>
  40. <li>Alt-drag to ignore snapping and bounds</li>
  41. </ul>
  42. </p>
  43. <p>
  44. <ul>
  45. <li>Scroll to zoom.</li>
  46. <li>Alt-scroll to zoom preserve positions on the screen.</li>
  47. <li>Shift-scroll with an entity selected to scale it.</li>
  48. <li>Shift-scroll without a selection to move horizontally.</li>
  49. </ul>
  50. </p>
  51. <h1>Adding/removing entities</h1>
  52. <p>
  53. <ul>
  54. <li>Remove the selected entity with the Delete key</li>
  55. <li>Alternatively, drag them off the top of the screen</li>
  56. </ul>
  57. </p>
  58. <button id="close-help">Close</button>
  59. </div>
  60. <div id="menubar">
  61. <span class="menubar-group" id="scenes">
  62. <button id="load-scene">
  63. <i class="fas fa-cloud-upload-alt"></i>
  64. <span class="sr-only">Load Scene</span>
  65. </button>
  66. <select id="scene-choices">
  67. </select>
  68. </span>
  69. <span class="menubar-group">
  70. <button id="open-help">
  71. <i class="far fa-question-circle"></i>
  72. <span class="sr-only">Help</span>
  73. </button>
  74. </span>
  75. </div>
  76. <div id="main-area">
  77. <div id="options" class="">
  78. <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>
  79. <h3 class="options-header">Create</h3>
  80. <div class="options-label">
  81. Category
  82. </div>
  83. <div class="options-row full">
  84. <select class="options-field-picker" id="spawners-categories">
  85. </select>
  86. </div>
  87. <div class="options-label">
  88. Entity
  89. </div>
  90. <div class="options-row full" id="spawners-entities">
  91. </div>
  92. <h3 class="options-header">World Info</h3>
  93. <span id="options-world">
  94. <div class="options-label">
  95. World height
  96. </div>
  97. <div class="options-row">
  98. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  99. <select class="options-field-unit" id="options-height-unit">
  100. </select>
  101. </div>
  102. <div class="options-row">
  103. <button class="options-button" id="options-world-scroll-left">Scroll left</button>
  104. </div>
  105. <div class="options-row">
  106. <button class="options-button" id="options-world-scroll-right">Scroll right</button>
  107. </div>
  108. <div class="options-row">
  109. <button class="options-button" id="options-world-fit">Fit to entities</button>
  110. </div>
  111. <div class="options-row">
  112. <input type="checkbox" id="options-show-extra">
  113. <label for="options-show-extra">Show extra options</label>
  114. </div>
  115. <div class="options-block options-block-optional">
  116. <div class="options-row">
  117. <input type="checkbox" id="options-world-autofit">
  118. <label for="options-world-autofit">Auto-size world</label>
  119. </div>
  120. <div class="options-row">
  121. <input type="checkbox" id="options-world-show-names">
  122. <label for="options-world-show-names">Names over entities</label>
  123. </div>
  124. <div class="options-row">
  125. <input type="checkbox" id="options-world-show-bottom-names" checked="true">
  126. <label for="options-world-show-bottom-names">Names at bottom</label>
  127. </div>
  128. <div class="options-row">
  129. <input type="checkbox" id="options-world-show-top-names" checked="true">
  130. <label for="options-world-show-top-names">Arrows for very large entities</label>
  131. </div>
  132. <div class="options-row">
  133. <input type="checkbox" id="options-world-show-height-bars">
  134. <label for="options-world-show-height-bars">Height bars</label>
  135. </div>
  136. <div class="options-row">
  137. <input type="checkbox" id="options-world-show-entity-glow">
  138. <label for="options-world-show-entity-glow">Glowing edges</label>
  139. </div>
  140. <div class="options-row">
  141. <input type="checkbox" id="options-world-show-scale-sliders">
  142. <label for="options-world-show-scale-sliders">Scale sliders</label>
  143. </div>
  144. <div class="options-row">
  145. <input type="checkbox" id="options-world-show-bottom-cover">
  146. <label for="options-world-show-bottom-cover">Opaque ground</label>
  147. </div>
  148. <div class="options-row">
  149. <input type="checkbox" id="options-world-show-scale" checked="true">
  150. <label for="options-world-show-scale">Scale</label>
  151. </div>
  152. </div>
  153. </span>
  154. <div class="options-label">
  155. Selected Entity
  156. </div>
  157. <div class="options-row">
  158. <select id="options-selected-entity" class="options-selector">
  159. <option id="options-selected-entity-none">None</option>
  160. </select>
  161. </div>
  162. <div class="options-row">
  163. <button id="delete-entity">
  164. <i class="fas fa-trash-alt symbol-button"></i>
  165. <span class="sr-only">Delete Entity</span>
  166. </button>
  167. </div>
  168. <h3 class="options-header" id="entity-category-header">Selected Entity</h3>
  169. <div class="options-category" id="entity-category">
  170. <div class="options-label">
  171. View
  172. </div>
  173. <select class="options-selector" id="entity-view"></select>
  174. <div class="options-label">
  175. Ordering
  176. </div>
  177. <div class="options-two-buttons" id="options-ordering">
  178. <button id="options-order-back">Toward back</button>
  179. <div id="options-order-display"></div>
  180. <button id="options-order-forward">Toward front</button>
  181. </div>
  182. <div class="options-label">
  183. Sizes
  184. </div>
  185. <div class="options-block" id="options-entity-defaults">
  186. </div>
  187. <span id="options-entity">
  188. </span>
  189. </div>
  190. <h3 class="options-header" id="view-category-header">View Options</h3>
  191. <div class="options-category" id="view-category">
  192. <span id="options-view">
  193. </span>
  194. </div>
  195. <h3 class="options-header" id="attribution-category-header" >Attribution</h3>
  196. <span id="options-attribution">
  197. <div class="options-label">
  198. Authors
  199. </div>
  200. <span id="options-attribution-authors">
  201. </span>
  202. <div class="options-label">
  203. Owners
  204. </div>
  205. <span id="options-attribution-owners">
  206. </span>
  207. <div class="options-label">
  208. Source
  209. </div>
  210. <span id="options-attribution-source">
  211. </span>
  212. </span>
  213. </div>
  214. <div id="world">
  215. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  216. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  217. <div id="entities">
  218. </div>
  219. <canvas id="display">
  220. </canvas>
  221. <div class="bottom-cover"></div>
  222. </div>
  223. </div>
  224. </body>
  225. </html>