supergeometry.app - free 3D CAD in your browser
+superGeometry.app - free 3D CAD in your browser
- supergeometry.app is a free 3D design (CAD) and 3D modeling app that runs in your web browser, on a computer + superGeometry.app is a free 3D design (CAD) and 3D modeling app that runs in your web browser, on a computer (Windows, Mac, Linux, Chromebook), an iPad or Android tablet, a phone, or a VR headset like the Meta Quest 3. No account, no download, no subscription. Your work stays on your device.
@@ -88,7 +88,7 @@
@@ -119,7 +119,7 @@
-
+
diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest
index 8910080..c8b971a 100644
--- a/public/manifest.webmanifest
+++ b/public/manifest.webmanifest
@@ -1,6 +1,6 @@
{
- "name": "supergeometry.app",
- "short_name": "supergeometry",
+ "name": "superGeometry.app",
+ "short_name": "superGeometry",
"description": "Free 3D CAD and 3D modeling in your browser, for phone, tablet, computer and VR.",
"start_url": "./",
"display": "standalone",
diff --git a/public/og-image.png b/public/og-image.png
index dc1f34b..089dd9f 100644
Binary files a/public/og-image.png and b/public/og-image.png differ
diff --git a/scripts/live.ts b/scripts/live.ts
index 28def99..144f62b 100644
--- a/scripts/live.ts
+++ b/scripts/live.ts
@@ -1,4 +1,4 @@
-// Is the push live? Compares the commit supergeometry.app was built from
+// Is the push live? Compares the commit superGeometry.app was built from
// (its /version.json) with main here.
//
// npx tsx scripts/live.ts once
diff --git a/scripts/logo.py b/scripts/logo.py
index bd7d9fc..5705c37 100644
--- a/scripts/logo.py
+++ b/scripts/logo.py
@@ -1,4 +1,4 @@
-"""supergeometry.app logo: a faceted red cape blowing in the wind, a yellow clasp, and a yellow
+"""superGeometry.app logo: a faceted red cape blowing in the wind, a yellow clasp, and a yellow
hexagon with a blue G printed on the cloth (it folds and shades with the facets).
Run: python scripts/logo.py (writes public/icon.svg; then node scripts/icons.mjs for the PNGs)"""
diff --git a/src/app.ts b/src/app.ts
index 9c3c472..ee18237 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -165,7 +165,7 @@ export class App implements AppContext {
checkVR();
(navigator as Navigator & { xr?: EventTarget }).xr?.addEventListener("devicechange", checkVR);
vrBtn.addEventListener("click", async () => {
- if (!(await vrSupported(handheld))) return this.ui.toast(handheld ? "This browser can't show AR - try Chrome" : "This browser can't open VR here - open supergeometry.app in the headset's own browser (not an installed app window)");
+ if (!(await vrSupported(handheld))) return this.ui.toast(handheld ? "This browser can't show AR - try Chrome" : "This browser can't open VR here - open superGeometry.app in the headset's own browser (not an installed app window)");
vr.enter().catch((e: unknown) => this.ui.toast(`${handheld ? "AR" : "VR"} didn't start: ${e instanceof Error ? e.message : e}`));
});
this.pinLayer = new PinLayer(this.view);
@@ -1352,7 +1352,7 @@ export class App implements AppContext {
if (root.requestFullscreen) void root.requestFullscreen().catch(() => this.ui.toast("This browser won't go fullscreen here"));
else if (root.webkitRequestFullscreen) root.webkitRequestFullscreen();
// iPhone Safari has no fullscreen for pages: the Home Screen app is.
- else this.ui.toast("Tip: Share → Add to Home Screen opens supergeometry.app full screen");
+ else this.ui.toast("Tip: Share → Add to Home Screen opens superGeometry.app full screen");
};
moreItem("m-fullscreen", () => {
if (isFull()) return void (document.exitFullscreen?.() ?? doc.webkitExitFullscreen?.());
@@ -1477,7 +1477,7 @@ export class App implements AppContext {
const show = () => {
if (document.activeElement !== name) name.textContent = this.store.doc.name;
// A new, unnamed project keeps the page's own title (what search results show).
- document.title = this.store.doc.name === "Untitled" ? PAGE_TITLE : `${this.store.doc.name} – supergeometry.app`;
+ document.title = this.store.doc.name === "Untitled" ? PAGE_TITLE : `${this.store.doc.name} – superGeometry.app`;
};
const rename = () => {
const v = typed();
diff --git a/src/doc/store.ts b/src/doc/store.ts
index 58ae502..795164a 100644
--- a/src/doc/store.ts
+++ b/src/doc/store.ts
@@ -406,7 +406,7 @@ export function parseProject(text: string): ProjectDoc {
export function migrate(raw: unknown): ProjectDoc {
const doc = raw as ProjectDoc & { version: number };
// "tessel" is the format name of files saved before the rename.
- if (!doc || (doc.format !== "super" && (doc.format as string) !== "tessel") || !Array.isArray(doc.features)) throw new Error("Not a supergeometry.app project file");
+ if (!doc || (doc.format !== "super" && (doc.format as string) !== "tessel") || !Array.isArray(doc.features)) throw new Error("Not a superGeometry.app project file");
if (doc.version === 2) return { ...emptyDoc(), ...doc, format: "super" };
// A newer app saved it: read as an old one, it would come out mangled.
if (doc.version > 2) throw new Error("This project was saved by a newer version of the app - reload the page to update");
diff --git a/src/io/formats.ts b/src/io/formats.ts
index e78b5c3..a1601ad 100644
--- a/src/io/formats.ts
+++ b/src/io/formats.ts
@@ -194,7 +194,7 @@ export function glb(bodies: GlbBody[], title: string): Uint8Array {
nodes.push({ name: b.name, mesh: i });
});
const json = {
- asset: { version: "2.0", generator: "supergeometry.app" },
+ asset: { version: "2.0", generator: "superGeometry.app" },
scene: 0,
scenes: [{ name: title, nodes: [0] }],
nodes,
diff --git a/src/io/threemf.ts b/src/io/threemf.ts
index 357ac27..ac0ef96 100644
--- a/src/io/threemf.ts
+++ b/src/io/threemf.ts
@@ -19,7 +19,7 @@ function modelXml(bodies: MeshBody[], title: string): string {
out.push('');
out.push('');
out.push(`${esc(title)} `);
- out.push('supergeometry.app ');
+ out.push('superGeometry.app ');
out.push("");
if (colors.length) {
out.push('');
diff --git a/src/ui/about.ts b/src/ui/about.ts
index df0a333..795f431 100644
--- a/src/ui/about.ts
+++ b/src/ui/about.ts
@@ -110,7 +110,7 @@ export function showAbout(): void {
const back = el("div", "dialog-back");
const box = el("div", "dialog about");
const head = el("div", "library-head");
- head.append(el("div", "panel-title", "About supergeometry.app"));
+ head.append(el("div", "panel-title", "About superGeometry.app"));
const closeBtn = el("button", "icon-btn library-close");
closeBtn.type = "button";
closeBtn.title = "Close";
diff --git a/src/ui/feedback.ts b/src/ui/feedback.ts
index 6797981..f298496 100644
--- a/src/ui/feedback.ts
+++ b/src/ui/feedback.ts
@@ -35,7 +35,7 @@ export function deviceLine(): string {
}
export function infoLine(): string {
- return `supergeometry.app ${__APP_VERSION__} · ${deviceLine()}`;
+ return `superGeometry.app ${__APP_VERSION__} · ${deviceLine()}`;
}
/** Reddit's "new text post" page for the subreddit, filled in. */
diff --git a/src/ui/help.ts b/src/ui/help.ts
index 4bf1da0..1ed2b81 100644
--- a/src/ui/help.ts
+++ b/src/ui/help.ts
@@ -91,7 +91,7 @@ const SECTIONS: { title: string; intro?: string; items: Entry[] }[] = [
{ icon: "numpad", name: "Numpad", text: "Tap to switch the on-screen numpad on or off: value boxes then open it instead of the keyboard. Typing replaces the value; ↵ applies it. ƒx adds + × / and your variables (tap one to type its name), and + New makes a variable from the value." },
{ icon: "display", name: "Display", text: "Shaded, wireframe or X-ray; edges and hidden edges." },
{ icon: "vr", name: "VR", text: "With a headset (its own browser, or a PC with one connected) the top bar shows Enter VR: your model stands in your room at real size, through the headset's cameras where it has them. Point the right hand at a table or the floor and pull the trigger to put it down there. Grip picks it up to move and turn it; both grips pulled apart or together size it (it stops at real size on the way). The scale over your left hand shows how big it is: 1:1 is real size, 2:1 twice as big, 1:2 half. A: real size or hand size. B: back in front of you. Y: X-Ray. Right stick: turn it, or size it. Left stick: raise or lower it. Hold X for the wheel (Real size, Hand size, Bring here, X-Ray, Edges, Exit): tilt the stick to a button and let go. On a phone or tablet the button says Enter AR (Chrome on Android): point it at the floor or a table and tap to put the model there, tap again to move it, pinch to size it and twist to turn it; Exit AR at the top. It's a viewer: edit on the screen." },
- { icon: "camera", name: "Screenshot", text: "Snapshot on the Settings wheel: save a picture of the view, marked faintly at the bottom right with the project's name, the isolated bodies (when isolating) and supergeometry.app." },
+ { icon: "camera", name: "Screenshot", text: "Snapshot on the Settings wheel: save a picture of the view, marked faintly at the bottom right with the project's name, the isolated bodies (when isolating) and superGeometry.app." },
{ icon: "history", name: "History", text: "History in the top bar: every step in order. Tap one to change it, hover to see what it works on, the eye switches it off, the bin deletes it (two taps, as in Items and the projects: the first turns it red). Select several (Ctrl/Shift+click) to group them: fold, rename, switch all off or on, ungroup. Ticked steps in a group: Ungroup (beside Group) takes just them out, in their own place in the timeline (a group they were in the middle of splits around them); a group's tick box ticks all its steps." },
],
},
@@ -113,7 +113,7 @@ export class HelpPanel {
constructor() {
this.el.hidden = true;
const head = el("div", "help-head");
- head.append(el("h2", "", "How supergeometry.app works"));
+ head.append(el("h2", "", "How superGeometry.app works"));
const close = el("button", "icon-btn help-close");
close.innerHTML = icons.close;
close.title = "Close help";
diff --git a/src/ui/install.ts b/src/ui/install.ts
index ab6971b..f129909 100644
--- a/src/ui/install.ts
+++ b/src/ui/install.ts
@@ -71,7 +71,7 @@ export class Install {
/** The notice: Install / Not now (or, on iOS, how to do it). */
offer(fromMenu = false): void {
- if (isInstalled()) return void (fromMenu && this.toast("supergeometry.app is already installed on this device"));
+ if (isInstalled()) return void (fromMenu && this.toast("superGeometry.app is already installed on this device"));
this.banner.innerHTML = "";
const ios = isIOS() && !this.deferred;
if (!ios && !this.deferred) {
@@ -83,8 +83,8 @@ export class Install {
"span",
"",
ios
- ? "Add supergeometry.app to your Home Screen: tap Share (the square with the arrow), then “Add to Home Screen”."
- : "Install supergeometry.app on this device? It opens like an app, full screen.",
+ ? "Add superGeometry.app to your Home Screen: tap Share (the square with the arrow), then “Add to Home Screen”."
+ : "Install superGeometry.app on this device? It opens like an app, full screen.",
);
const yes = el("button", "text-btn primary", ios ? "Got it" : "Install");
yes.addEventListener("click", () => void this.accept(ios));
diff --git a/src/ui/library.ts b/src/ui/library.ts
index 9349b2f..ebfd074 100644
--- a/src/ui/library.ts
+++ b/src/ui/library.ts
@@ -99,7 +99,7 @@ export function showLibrary(entries: LibraryEntry[], currentId: string | null, a
const box = el("div", "dialog library");
if (opts.welcome) box.classList.add("welcome");
const head = el("div", "library-head");
- head.append(el("div", "panel-title", opts.welcome ? "Welcome to supergeometry.app" : "Projects"));
+ head.append(el("div", "panel-title", opts.welcome ? "Welcome to superGeometry.app" : "Projects"));
// No projects yet: New project is the way in.
const newBtn = el("button", entries.length ? "text-btn" : "text-btn primary", "New project");
newBtn.type = "button";
diff --git a/src/view/viewport.ts b/src/view/viewport.ts
index 35d5fcb..a5c4fc4 100644
--- a/src/view/viewport.ts
+++ b/src/view/viewport.ts
@@ -1600,7 +1600,7 @@ export class Viewport {
/**
* The view as a PNG, with see-through marks at the bottom right: the
* project's name, the isolated bodies' names (when isolating), and the
- * supergeometry.app logo and name.
+ * superGeometry.app logo and name.
*/
async screenshot(label?: { project: string; isolated?: string[] }): Promise {
const logo = await watermarkLogo();
@@ -1620,15 +1620,15 @@ export class Viewport {
const right = out.width - pad;
g.globalAlpha = 0.45;
g.textBaseline = "middle";
- // Bottom line: logo, "supergeometry" and ".app", ending at the right edge.
+ // Bottom line: logo, "superGeometry" and ".app", ending at the right edge.
let y = out.height - pad - icon / 2;
g.font = font(750, 20);
const tld = g.measureText(".app").width;
- const name = g.measureText("supergeometry").width;
+ const name = g.measureText("superGeometry").width;
g.fillStyle = "#3d8bff";
g.fillText(".app", right - tld, y);
g.fillStyle = "#cfd6e4";
- g.fillText("supergeometry", right - tld - name, y);
+ g.fillText("superGeometry", right - tld - name, y);
if (logo) g.drawImage(logo, right - tld - name - 8 * px - icon, y - icon / 2, icon, icon);
// Above it, right-aligned: the isolated bodies, then the project's name.
g.textAlign = "right";
diff --git a/start.bat b/start.bat
index 05c71b3..509658a 100644
--- a/start.bat
+++ b/start.bat
@@ -1,6 +1,6 @@
@echo off
-rem Starts the supergeometry.app dev server and opens it in Chrome.
-title supergeometry.app dev server
+rem Starts the superGeometry.app dev server and opens it in Chrome.
+title superGeometry.app dev server
cd /d "%~dp0"
rem Node may not be on PATH in older terminals right after installing it.
@@ -22,7 +22,7 @@ if not exist node_modules (
rem Open Chrome in the background as soon as the server answers.
start "" /b powershell -NoProfile -WindowStyle Hidden -Command "for ($i=0; $i -lt 60; $i++) { try { Invoke-WebRequest http://localhost:5173 -UseBasicParsing -TimeoutSec 2 | Out-Null; break } catch { Start-Sleep 1 } }; try { Start-Process chrome 'http://localhost:5173' } catch { Start-Process 'http://localhost:5173' }"
-echo Starting supergeometry.app at http://localhost:5173 (close this window or press Ctrl+C to stop)
+echo Starting superGeometry.app at http://localhost:5173 (close this window or press Ctrl+C to stop)
call npm run dev -- --port 5173 --strictPort
pause
exit /b