https://github.com/christophertrimboli/poly-world
A simple world to have fun in.
https://github.com/christophertrimboli/poly-world
bvh csg react-three-drei react-three-fiber threejs
Last synced: about 2 months ago
JSON representation
A simple world to have fun in.
- Host: GitHub
- URL: https://github.com/christophertrimboli/poly-world
- Owner: ChristopherTrimboli
- License: agpl-3.0
- Created: 2024-04-09T22:54:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T05:37:49.000Z (about 2 years ago)
- Last Synced: 2025-05-12T22:17:29.651Z (about 1 year ago)
- Topics: bvh, csg, react-three-drei, react-three-fiber, threejs
- Language: JavaScript
- Homepage: https://poly-world.vercel.app
- Size: 287 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# poly-world
A simple world to have fun in.

## Dev Guide
- `npm i`
- `npm run dev`
http://localhost:3000
#### Backend uWebSocket
- `npm run dev-socket` (local dev)
- `npm run build-socket`
- `npm run start-socket` (production)
Local dev runs on: `ws://localhost:9001`
Production hosted on: `wss://poly-world-75fe1d48fc05.herokuapp.com`
#### Enviroment Variables
- Create `.env.local` file in root.
```bash
NEXT_PUBLIC_WS_URL = ws://localhost:9001
```
#### Deploy to Heroku
`heroku login`
`git push heroku main`
`heroku logs --tail`
