Skip to content

evankirkiles/abitofpersonalspace

Repository files navigation


A Bit of Personal Space

A digital dimensional exploration into the spaces that define us.

Powered by Three.js and Polycam, A Bit of Personal Space allows hosting of photogrammetry spaces on the web, with full desktop, mobile, and gamepad navigation. Physics are enabled through pre-processing of spaces and adding in physics collision boxes.

image image

Features

Todo.

Feature Description

Development

To develop locally, clone this repository and hook it into the Supabase backend by setting your environment variables in .env.local.

# clone the repository to your machine
git clone git@github.com:evankirkiles/abitofpersonalspace.git
cd abitofpersonalspace/
# install dependencies and begin the local web server
yarn install
yarn dev

Note

You will need to fill out a .env.local file in the frontend/ directory as described in the Configuration section to be able to connect to the Supabase backend from your local environment.

Configuration

The client app expects the following environment variables to be set in order to communicate with the backend.

# .env.local
NEXT_PUBLIC_SUPABASE_ANON_KEY=<supabase anon key>
NEXT_PUBLIC_SUPABASE_URL=https://<id>.supabase.co
NEXT_PUBLIC_IMGIX_URL=<imgix url>.imgix.net
NEXT_PUBLIC_AWS_S3_REGION=<aws region>
NEXT_PUBLIC_AWS_S3_BUCKET=<aws s3 bucket>
NEXT_PUBLIC_AWS_SECRET_KEY=<s3-permissioned frontend IAM user>
NEXT_PUBLIC_AWS_ACCESS_KEY_ID=<s3-permissioned frontend IAM user>
SUPABASE_SERVICE_ROLE_KEY=<supabase service role key>