Imagining a World — a spatial computing interface for turning images into explorable 3D worlds.
MarbleOS is an experiment in what a personal spatial OS might look like if it were built around generative 3D. Upload a photo, and MarbleOS reconstructs it as a navigable Gaussian Splat — viewable, shareable, and editable right in the browser. The interface takes its aesthetic cues from visionOS: glassmorphism, depth, spring animations, and a window-based app model.
The goal is to make 3D scene generation feel as natural as taking a photo.
The project is organized into three layers:
frontend/ Next.js 16 — VisionOS-style shell + MarbleOS app
backend/ FastAPI — wraps Apple SHARP for inference
supersplat/ Gaussian Splat editor (embedded via iframe)
Frontend (localhost:3080) — a Next.js app built on the vision-ui template. The home grid launches individual apps; MarbleOS lives at /openmarble with Create and Gallery tabs. State is managed with Jotai atoms (lib/marble-atoms.ts). UI components follow the VisionOS design system: Material, Ornament, Stack, spring-based motion.
Backend (localhost:8000) — a FastAPI server (backend/main.py) that accepts an image, runs it through Apple's SHARP model, and returns a .ply Gaussian Splat file and a preview .mp4. The SHARP model lives in Apple-Sharp-Image-to-3D-View-Synthesis/ and is imported via sys.path without code duplication.
SuperSplat (localhost:3090) — an open-source Gaussian Splat editor embedded as an iframe. Receives the generated .ply via a ?load=<url> query parameter for in-browser 3D inspection.
User uploads image
→ POST /api/generate (FastAPI)
→ Apple SHARP model → .ply + .mp4
→ SuperSplat iframe loads .ply via URL
→ Gallery tab stores and lists past generations
# Frontend
cd frontend && npm install && npm run dev # :3080
# Backend
cd backend && uvicorn main:app --reload # :8000
# SuperSplat (separate repo)
cd ../supersplat && npm install && npm run dev # :3090This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See frontend/LICENSE.md for the full text.
In short: you are free to use, modify, and distribute this software, but any modified version deployed over a network must also make its source code available under the same license.
- vision-ui — the visionOS-inspired React component system and app shell that forms the frontend foundation.
- Apple SHARP — Spatial High-fidelity Adaptive Rendering Pipeline, Apple's model for single-image 3D Gaussian Splat reconstruction.
- SuperSplat — the open-source Gaussian Splat editor by PlayCanvas, embedded for in-browser 3D viewing and editing.
