less copy protection, more size visualization
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

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