https://github.com/user-attachments/assets/4267e8aa-a950-4639-bc49-55ab31f59376
simulation for translating drone data into a 3d space.
will add visuals/ lasers/ powerups to extend the physical drones flying around
# Install dependencies
bun install
# Copy environment variables
cp .env.example .env
The project has two main routes demonstrating different data sources:
/)The root route at / uses a mock data service that simulates drone movements locally. This is useful for development and testing without needing a server.
# Start the development server
bun run dev
/sse)The /sse route uses Server-Sent Events (SSE) to receive real-time drone position updates. This is closer to how it would work with real drones.
To use the SSE version:
Start the SSE server:
bun run server
In a separate terminal, start the development server:
bun run dev
Visit http://localhost:5173/sse in your browser
The SSE server will:
Everything you need to build a Svelte project, powered by sv.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.