Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: add scratch verification script using Playwright for automated testing

fudjia120c09a458bc
diff --git a/scratch-verify.mjs b/scratch-verify.mjs
new file mode 100644
index 000000000..c4d95ed41
--- /dev/null
+++ b/scratch-verify.mjs
@@ -0,0 +1,14 @@
+import { chromium } from 'playwright';
+const browser = await chromium.launch();
+const page = await browser.newPage({ viewport: { width: 1440, height: 900 } });
+await page.goto('http://localhost:3000/', { waitUntil: 'domcontentloaded' });
+await page.waitForSelector('.hero-chip--fireworks', { timeout: 8000 });
+await page.waitForTimeout(3500);
+const dir = '/tmp/claude-1000/-workspaces-three-ws/3d96eb7b-ea54-4817-8530-12f878b01e6b/scratchpad/';
+await page.click('.hero-chip--fireworks');
+// fuse 1600 + ~2s climb → bursts around 3.6-4.5s; sample a few fixed points
+for (const t of [3800, 4300, 4800]) { await page.waitForTimeout(t - (t===3800?0:t===4300?3800:4300)); }
+await page.waitForTimeout(0);
+await page.screenshot({ path: dir + 'torch-final.png' });
+console.log('done');
+await browser.close();