Skip to content

Backend-first 2D physics sandbox: authoritative Pymunk physics server (FastAPI) + HTML Canvas client. Work-in-progress.

License

Notifications You must be signed in to change notification settings

JeremieNR/physics-sandbox-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

physics-sandbox-server

[This project is still a work in progress]

This project is a backend-first browser-based 2D physics sandbox with an authoritative Python server. The backend runs a real-time physics simulation using Pymunk, while the browser client renders the simulation using HTML Canvas and communicates with the server over WebSockets.

The focus of the project is software engineering rather than game design. It demonstrates real-time systems, API design, server-authoritative state management, and clean backend architecture. The frontend is intentionally minimal and exists only to visualize server state and send user input.

🎥 Project Showcase Video: Work in Progress

Skills and Tools:

  • Python: FastAPI backend, real-time WebSocket communication
  • Physics: Pymunk (2D rigid body simulation, constraints, forces)
  • APIs & Networking: WebSockets for state sync, REST endpoints (planned)
  • Frontend: HTML Canvas + vanilla JavaScript rendering
  • Software Engineering: system design, deterministic simulation concepts, incremental development, Git-based workflow

About

Backend-first 2D physics sandbox: authoritative Pymunk physics server (FastAPI) + HTML Canvas client. Work-in-progress.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published