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.
 
 
 

129 lines
4.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">
  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/naturals.js"></script>
  14. <script src="presets/vehicles.js"></script>
  15. <script src="presets/cities.js"></script>
  16. <script src="presets/scenes.js"></script>
  17. <script src="macrovision.js"></script>
  18. <meta name="theme-color" content="#000000" />
  19. <meta name="description" content="How big are they anyway?" />
  20. <meta property="og:title" content="Macrovision" />
  21. <meta property="og:description" content="How big are they anyway?" />
  22. <meta property="og:image" content="https://crux.sexy/images/macrovision.png" />
  23. <link rel="icon" href="https://crux.sexy/images/macrovision.ico">
  24. </head>
  25. <body class="toggle-bottom-name toggle-entity-name">
  26. <div id="help">
  27. <h1>Discord</h1>
  28. <p>
  29. <ul>
  30. <li><a href="https://discord.gg/vqcKVV6">Join the Discord server!</a></li>
  31. </ul>
  32. </p>
  33. <h1>Navigation</h1>
  34. <p>
  35. <ul>
  36. <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>
  37. <li>Alt-scroll to zoom in/out and preserve positions on the screen.</li>
  38. <li>Shift-scroll with an entity selected to scale it.</li>
  39. </ul>
  40. </p>
  41. <h1>Adding/removing entities</h1>
  42. <p>
  43. <ul>
  44. <li>Drag something to the top of the screen to delete it, or press the delete key</li>
  45. </ul>
  46. </p>
  47. <button id="close-help">Close</button>
  48. </div>
  49. <div id="menubar">
  50. <span class="menubar-group">
  51. <button id="menu-clear">Clear</button>
  52. </span>
  53. <span class="menubar-group">
  54. <button id="menu-order-height">Order by height</button>
  55. </span>
  56. <span class="menubar-group">
  57. <button id="menu-export">Export</button>
  58. <button id="menu-save">Save</button>
  59. <button id="menu-load">Load</button>
  60. </span>
  61. <span class="menubar-group" id="spawners">
  62. </span>
  63. <span class="menubar-group">
  64. <button id="open-help">Help</button>
  65. </span>
  66. </div>
  67. <div id="main-area">
  68. <div id="options">
  69. <div class="options-header">World options</div>
  70. <span id="options-world">
  71. <div class="options-label">
  72. World height
  73. </div>
  74. <div class="options-row">
  75. <input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
  76. <select class="options-field-unit" id="options-height-unit">
  77. </select>
  78. </div>
  79. <div class="options-row">
  80. <button class="options-button" id="options-world-fit">Fit to entities</button>
  81. </div>
  82. <div class="options-row">
  83. <label class="switch">
  84. <input type="checkbox" id="options-world-autofit">
  85. <span class="switch-label">Auto-size world</span>
  86. </label>
  87. </div>
  88. <div class="options-label">
  89. Auto-sizing mode
  90. </div>
  91. <div class="options-row">
  92. <select class="options-selector" id="options-world-autofit-mode">
  93. <option value="max">Max</option>
  94. <option value="arithmetic mean">Arithmetic mean</option>
  95. <option value="geometric mean">Geometric mean</option>
  96. </select>
  97. </div>
  98. </span>
  99. <div class="options-header">Entity options</div>
  100. <div class="options-label">
  101. Active view
  102. </div>
  103. <select class="options-selector" id="entity-view"></select>
  104. <div class="options-block" id="options-entity-defaults">
  105. </div>
  106. <span id="options-entity">
  107. </span>
  108. <div class="options-header">View options</div>
  109. <span id="options-view">
  110. </span>
  111. </div>
  112. <div id="world">
  113. <div id="entities">
  114. </div>
  115. <canvas id="display">
  116. </canvas>
  117. </div>
  118. </div>
  119. </body>
  120. </html>