Skip to content

Repository files navigation

WebSpatial Solar System

Small WebSpatial demo: React + Vite + TypeScript, orbital <Reality>, USDZ models, and multi-window scenes.

Commands

pnpm install
pnpm run dev      # http://localhost:5173 — WebSpatial AVP dev settings
pnpm run build    # output: dist/webspatial/avp
pnpm run preview  # serve that build on :5173
pnpm run lint

Vision Pro: Xcode + visionOS simulator. Start pnpm run dev or pnpm run preview, then
pnpm exec webspatial-builder run --base=http://localhost:5173.

Vercel: connect the repo in the Vercel UI or run vercel / vercel --prod. Settings are in vercel.json.

Stack

SPA routes: /, /orbit, /models, /multi, /scene/:id. WebSpatial SDK 1.5.x, @webspatial/vite-plugin in AVP mode. webspatial.dev/docs is the source of truth for APIs and setup.

About

Explores and showcases possiblities of spatializing an educational solar system app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages