From fc9bff5d85d07d2cc54bb2366a9b58dec17661ee Mon Sep 17 00:00:00 2001 From: Camillalalala Date: Mon, 11 May 2026 03:25:26 -0700 Subject: [PATCH] Feature: Successfully implement personalized object in object box --- frontend/.env | 1 + frontend/object-box.html | 25 ++ frontend/src/object-box/level.ts | 2 + frontend/src/object-box/main.ts | 268 +++++++++++++++++- frontend/src/object-box/scene.ts | 52 ++++ frontend/src/object-box/style.css | 132 +++++++++ workers/api/src/router.ts | 5 + workers/api/src/routes/index.ts | 17 +- workers/api/src/routes/object_box_generate.ts | 253 +++++++++++++++++ 9 files changed, 749 insertions(+), 6 deletions(-) create mode 100644 frontend/.env create mode 100644 workers/api/src/routes/object_box_generate.ts diff --git a/frontend/.env b/frontend/.env new file mode 100644 index 0000000..977d7e9 --- /dev/null +++ b/frontend/.env @@ -0,0 +1 @@ +VITE_GOOGLE_CLIENT_ID=432776535595-d2n7cj7jl8qbrojdpnr00eup6t8k36od.apps.googleusercontent.com diff --git a/frontend/object-box.html b/frontend/object-box.html index c799229..cd02dc0 100644 --- a/frontend/object-box.html +++ b/frontend/object-box.html @@ -26,6 +26,31 @@
pick an object →
+
+ + + +
+

+
+ + Tripo response + + +
(no request yet)
+
+