A browser-based 3D parametric and AI generative design pstudio. Interact with parametric 3D mdoels, 4D models in 3D space utilizing (x,y,z) & u, v parameters. Perfect for anything oen interated in mathematical abstract modes or the world Built with React, Three.js (via React Three Fiber), and an Express/Node backend.
- Parametric Explorer real-time 3D curve and surface generation driven by adjustable mathematical parameters, rendered live in WebGL
- Generate 3D — text-to-3D model generation powered by Tripo3D
- AI Images — AI-assisted image generation portal
- 3D Models gallery — a curated library of sacred-geometry and symbolic 3D models (Platonic solids, mandalas, sacred symbols), browsable and exportable
- Texture gallery — stylized pixel-art textures (8-bit/12-bit/16-bit tiers) for the symbol set, ready to apply to 3D models in external tools
- Export pipeline — export generated geometry as GLB with embedded metadata
| Layer | Tech |
|---|---|
| Frontend | React, TypeScript, Vite |
| 3D rendering | Three.js, React Three Fiber, React Three Drei |
| UI | Tailwind CSS, Radix UI primitives |
| Backend | Express (Node.js) |
| Database | PostgreSQL (Neon), Drizzle ORM |
| 3D generation | Tripo3D API |
git clone https://github.com/UUON-Foundation/3dPstudio.git
cd 3dPstudio
npm installCreate a .env file in the project root:
TRIPO_API_KEY=your_tripo3d_key_here
DATABASE_URL=your_postgres_connection_string_here
Local macOS note: if the dev server fails to bind with an ENOTSUP error on 0.0.0.0, add this to your .env:
HOST=127.0.0.1
npm run devThe app will be available at http://localhost:5000 (or whichever port you set via PORT).
npm run build
npm startThis project deploys cleanly to Railway:
- Connect this repo (Railway auto-detects the build via Railpack)
- Set
TRIPO_API_KEYandDATABASE_URLunder the service's Variables tab - Leave
PORTunset — Railway injects it automatically and the app reads it directly - Generate a public domain under Settings → Networking
client/
index.html # Vite entry point
src/
components/ # React components (3D scene, portals, UI)
lib/ # Geometry/math utilities, state stores
pages/
public/
models/ # Curated 3D model library (.glb)
textures/ # Sacred-symbol texture sets
server/
index.ts # Express entry point
routes.ts # API routes
storage.ts # Data access layer
shared/
schema.ts # Shared DB schema (Drizzle)
MIT — see LICENSE for details.
3D generation powered by Tripo3D. Built and deployed using Replit and Railway.