isokit: project layer, Studio GUI, MCP server, viewer, CLI, demo project and docs
This commit is contained in:
1 parent
95c80ec6b1
commit
564aeb75f6
47 files changed
+5978
-366
No files matched your search
@@ -0,0 +1,76 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>isokit Studio</title>
|
||||
<script>
|
||||
(function(){var t=null;try{t=localStorage.getItem("isokit-theme")}catch(e){}
|
||||
if(t!=="light"&&t!=="dark")t=window.matchMedia&&matchMedia("(prefers-color-scheme: light)").matches?"light":"dark";
|
||||
document.documentElement.setAttribute("data-theme",t);})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="/assets/viewer/isokit-view.css">
|
||||
<link rel="stylesheet" href="/assets/theme.css">
|
||||
<link rel="stylesheet" href="/assets/studio/studio.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="st-head">
|
||||
<b class="st-logo">isokit <span>Studio</span></b>
|
||||
<span class="st-title" id="title"></span>
|
||||
<span class="st-grow"></span>
|
||||
<button type="button" id="undo" title="Undo (Ctrl+Z)" disabled>↶ Undo</button>
|
||||
<button type="button" id="redo" title="Redo (Ctrl+Y)" disabled>↷ Redo</button>
|
||||
<span class="st-save" id="save" title="Every change is saved to scene.json at once">Saved</span>
|
||||
<span class="st-sep"></span>
|
||||
<a class="st-btn" href="/view" target="_blank" rel="noopener" title="The scene as visitors see it (live)">Preview</a>
|
||||
<button type="button" id="build" title="Write the self-contained HTML page">Build page</button>
|
||||
<button type="button" id="theme" title="Light / dark">◐</button>
|
||||
<button type="button" id="help" title="Keys and tips">?</button>
|
||||
</header>
|
||||
<main class="st-main">
|
||||
<aside class="st-left">
|
||||
<section class="st-panel">
|
||||
<h2>Add <small>click, then click on the map</small></h2>
|
||||
<input type="search" id="psearch" placeholder="Search objects…" autocomplete="off">
|
||||
<div id="palette" class="st-palette"></div>
|
||||
</section>
|
||||
<section class="st-panel st-grow-panel">
|
||||
<h2>Objects <small id="ocount"></small></h2>
|
||||
<input type="search" id="osearch" placeholder="Filter…" autocomplete="off">
|
||||
<ul id="objects" class="st-objects"></ul>
|
||||
</section>
|
||||
</aside>
|
||||
<section class="st-centre">
|
||||
<div id="view" class="iso-fill"></div>
|
||||
<div class="st-hint" id="hint" hidden></div>
|
||||
<footer class="st-status">
|
||||
<span id="cursor">x – y –</span>
|
||||
<label title="Snap positions to a grid">Snap
|
||||
<select id="snap"><option value="0">off</option><option value="0.1">0.1 m</option><option value="0.5" selected>0.5 m</option><option value="1">1 m</option><option value="5">5 m</option></select>
|
||||
</label>
|
||||
<span class="st-grow"></span>
|
||||
<button type="button" id="warnbtn" class="st-link" hidden></button>
|
||||
<span id="stats"></span>
|
||||
</footer>
|
||||
</section>
|
||||
<aside class="st-right" id="right"></aside>
|
||||
</main>
|
||||
<div class="st-toast" id="toast" hidden></div>
|
||||
<dialog id="helpdlg" class="st-dialog">
|
||||
<h3>isokit Studio</h3>
|
||||
<table>
|
||||
<tr><th>Add</th><td>pick an object on the left, click on the map (Shift-click to place several)</td></tr>
|
||||
<tr><th>Select</th><td>click it on the map or in the list</td></tr>
|
||||
<tr><th>Move</th><td>drag it, or arrow keys (by the snap step)</td></tr>
|
||||
<tr><th>Turn</th><td>R / Shift+R, or the ⟲ ⟳ buttons</td></tr>
|
||||
<tr><th>Copy / delete</th><td>Ctrl+D / Delete</td></tr>
|
||||
<tr><th>Undo / redo</th><td>Ctrl+Z / Ctrl+Y</td></tr>
|
||||
<tr><th>View</th><td>drag the ground to pan, Ctrl + wheel or pinch to zoom, ↺ ↻ to rotate, levels to look inside</td></tr>
|
||||
<tr><th>Agents</th><td>connect an AI agent over MCP; its edits appear here live (see the panel when nothing is selected)</td></tr>
|
||||
</table>
|
||||
<form method="dialog"><button>Close</button></form>
|
||||
</dialog>
|
||||
<script src="/assets/viewer/isokit-view.js"></script>
|
||||
<script src="/assets/studio/studio.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user