Spaces:
Running
Running
Download index.html from saltiresoftware/CoreGX-Cams: direct link, hf CLI and curl.
- Browser
- Download file 3.99 kB
-
https://huggingface.co/spaces/saltiresoftware/CoreGX-Cams/resolve/main/index.html
- Command line
-
hf download hf://spaces/saltiresoftware/CoreGX-Cams/index.html
-
curl -L -o index.html https://huggingface.co/spaces/saltiresoftware/CoreGX-Cams/resolve/main/index.html
3.99 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="description" content="Generate animated CoreGX cam mechanisms in your browser."> | |
| <title>CoreGX Cam Studio</title> | |
| <link rel="stylesheet" href="styles.css?v=20261001-02"> | |
| </head> | |
| <body> | |
| <main class="page"> | |
| <header class="hero"> | |
| <h1>Cam Studio</h1> | |
| <div class="celtic-border" aria-hidden="true"> | |
| <svg viewBox="0 0 440 24" preserveAspectRatio="none"> | |
| <path d="M0 12 H14 L24 2 H40 L50 12 H66 L76 22 H92 L102 12 H118 L128 2 H144 L154 12 H170 L180 22 H196 L206 12 H222 L232 2 H248 L258 12 H274 L284 22 H300 L310 12 H326 L336 2 H352 L362 12 H378 L388 22 H404 L414 12 H440"/> | |
| <path class="heather" d="M0 2 H8 L18 12 H34 L44 22 H60 L70 12 H86 L96 2 H112 L122 12 H138 L148 22 H164 L174 12 H190 L200 2 H216 L226 12 H242 L252 22 H268 L278 12 H294 L304 2 H320 L330 12 H346 L356 22 H372 L382 12 H398 L408 2 H424 L434 12 H440"/> | |
| </svg> | |
| </div> | |
| </header> | |
| <section class="workspace"> | |
| <div class="prompt-card"> | |
| <p class="example-hint">Start with an example below or enter your own cam description. Then click Build cam.</p> | |
| <label class="sr-only" for="description">Cam description</label> | |
| <textarea id="description" maxlength="1800" placeholder="A roller follower with a smooth 10 mm rise…"></textarea> | |
| <div class="chips" aria-label="Example descriptions"> | |
| <button type="button" data-example="recip-roller">Reciprocating roller</button> | |
| <button type="button" data-example="recip-flat">Reciprocating flat</button> | |
| <button type="button" data-example="osc-roller">Oscillating roller</button> | |
| <button type="button" data-example="osc-flat">Oscillating flat</button> | |
| </div> | |
| <button type="button" id="build">Build cam</button> | |
| <p id="status" role="status" aria-live="polite"></p> | |
| </div> | |
| <div id="preview" class="preview-shell" aria-live="polite"></div> | |
| </section> | |
| <div id="downloads" class="downloads" aria-label="Cam downloads"> | |
| <a id="download-program" class="is-disabled" download="cam.coregx" aria-disabled="true">Download CoreGX</a> | |
| <a id="download-svg" class="is-disabled" download="cam.svg" aria-disabled="true">Download SVG</a> | |
| <button type="button" id="download-cad" disabled>Export CAD</button> | |
| </div> | |
| <details class="code-panel"> | |
| <summary>CoreGX</summary> | |
| <pre><code id="program"></code></pre> | |
| </details> | |
| <footer class="site-footer"> | |
| <p>CoreGX is a constraint-based geometry engine. Send a request in the CoreGX language and receive precise SVG output and symbolic measurements in return. This demo uses an LLM to convert natural language into CoreGX. Try CoreGX either <a href="https://coregx.dev/" target="_blank" rel="noopener noreferrer">via API</a> or <a href="https://coregx.dev/local.html" target="_blank" rel="noopener noreferrer">run locally</a>!</p> | |
| <p>Explore the <a href="https://huggingface.co/spaces/saltiresoftware/coregx-triangles" target="_blank" rel="noopener noreferrer">triangle</a>, <a href="https://huggingface.co/spaces/saltiresoftware/coregx-worksheet" target="_blank" rel="noopener noreferrer">quadrilateral worksheet</a>, and <a href="https://huggingface.co/spaces/saltiresoftware/coregx-multilingual" target="_blank" rel="noopener noreferrer">multilingual geometry</a> demos. For broader natural language geometry, try <a href="https://gengx.geometryexpressions.com/" target="_blank" rel="noopener noreferrer">GenGX</a>.</p> | |
| <p>To construct, manipulate, and explore dynamic shapes, try <a href="https://www.geometryexpressions.com/gxweb/" target="_blank" rel="noopener noreferrer">GXWeb</a>.</p> | |
| </footer> | |
| </main> | |
| <script src="config.js?v=20261007-new-worker-1"></script> | |
| <script type="module" src="app.js?v=20261001-02"></script> | |
| </body> | |
| </html> | |