less copy protection, more size visualization
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

196 lines
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/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-entity-name toggle-height-bars toggle-entity-glow">
  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"><i class="fas fa-compress"></i></button>
  59. </span>
  60. <span class="menubar-group">
  61. <button id="menu-clear"><i class="fas fa-trash-alt"></i></button>
  62. </span>
  63. <span class="menubar-group">
  64. <button id="menu-order-height"><i class="fas fa-sort-numeric-up"></i></button>
  65. </span>
  66. <span class="menubar-group">
  67. <button id="menu-permalink"><i class="fas fa-link"></i></button>
  68. <button id="menu-export"><i class="fas fa-share"></i></button>
  69. <button id="menu-save"><i class="fas fa-download"></i></button>
  70. <button id="menu-load"><i class="fas fa-upload"></i></button>
  71. </span>
  72. <span class="menubar-group" id="spawners">
  73. </span>
  74. </span>
  75. <span class="menubar-group" id="scenes">
  76. <button id="load-scene"><i class="fas fa-cloud-upload-alt"></i></button>
  77. <select id="scene-choices">
  78. </select>
  79. </span>
  80. <span class="menubar-group">
  81. <button id="open-help"><i class="far fa-question-circle"></i></button>
  82. </span>
  83. </div>
  84. <div id="main-area">
  85. <div id="options">
  86. <div class="options-header">World options</div>
  87. <span id="options-world">
  88. <div class="options-label">
  89. World height
  90. </div>
  91. <div class="options-row">
  92. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  93. <select class="options-field-unit" id="options-height-unit">
  94. </select>
  95. </div>
  96. <div class="options-row">
  97. <button class="options-button" id="options-world-fit">Fit to entities</button>
  98. </div>
  99. <div class="options-row">
  100. <label class="switch">
  101. <input type="checkbox" id="options-world-autofit">
  102. <span class="switch-label">Auto-size world</span>
  103. </label>
  104. </div>
  105. <div class="options-row">
  106. <input type="checkbox" id="options-world-show-names" checked=true>
  107. <label for="options-world-show-names">Names over entities</label>
  108. </div>
  109. <div class="options-row">
  110. <input type="checkbox" id="options-world-show-bottom-names" checked=true>
  111. <label for="options-world-show-bottom-names">Names at bottom</label>
  112. </div>
  113. <div class="options-row">
  114. <input type="checkbox" id="options-world-show-height-bars" checked=true>
  115. <label for="options-world-show-height-bars">Height bars</label>
  116. </div>
  117. <div class="options-row">
  118. <input type="checkbox" id="options-world-show-entity-glow" checked=true>
  119. <label for="options-world-show-entity-glow">Glowing edges</label>
  120. </div>
  121. <div class="options-label">
  122. Auto-sizing mode
  123. </div>
  124. <div class="options-row">
  125. <select class="options-selector" id="options-world-autofit-mode">
  126. <option value="max">Max</option>
  127. <option value="arithmetic mean">Arithmetic mean</option>
  128. <option value="geometric mean">Geometric mean</option>
  129. </select>
  130. </div>
  131. </span>
  132. <div class="options-header">Entity options</div>
  133. <div class="options-label">
  134. Ordering
  135. </div>
  136. <div class="options-two-buttons" id="options-ordering">
  137. <button id="options-order-back">Toward back</button>
  138. <div id="options-order-display"></div>
  139. <button id="options-order-forward">Toward front</button>
  140. </div>
  141. <div class="options-label">
  142. Active view
  143. </div>
  144. <select class="options-selector" id="entity-view"></select>
  145. <div class="options-label">
  146. Sizes
  147. </div>
  148. <div class="options-block" id="options-entity-defaults">
  149. </div>
  150. <span id="options-entity">
  151. </span>
  152. <div class="options-header">View options</div>
  153. <span id="options-view">
  154. </span>
  155. <div class="options-header">Attribution</div>
  156. <span id="options-attribution">
  157. <div class="options-label">
  158. Authors
  159. </div>
  160. <span id="options-attribution-authors">
  161. </span>
  162. <div class="options-label">
  163. Owners
  164. </div>
  165. <span id="options-attribution-owners">
  166. </span>
  167. <div class="options-label">
  168. Source
  169. </div>
  170. <span id="options-attribution-source">
  171. </span>
  172. </span>
  173. </div>
  174. <div id="world">
  175. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-scale"/>
  176. <input type="range" step="0.001" min="0" max="2" value="1" class="floating-slider" id="slider-entity-scale"/>
  177. <div id="entities">
  178. </div>
  179. <canvas id="display">
  180. </canvas>
  181. </div>
  182. </div>
  183. <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>
  184. </body>
  185. </html>