A flight simulation app that uses the accelerometer in your cell-phone to control the plane.
856
This is an accessible flight simulation experience that uses a smartphone accelerometer to control the plane. This allows users who don't have an expensive controller/joystick to have a taste for what its like to fly a plane.
This was a JavaScript project made this using React, Three.js, Node.js, and Socket.io, among other smaller libraries.
The goal of this project was to demo an immersive flight simulator that is accessible for nearly anyone to try without any fancy controllers. Personally, I enjoy the idea of creating a fun experience that anyone can enjoy, and this demo shows that a flight simulation experience can be created in such a way that is accessible to anyone with a cellphone and a computer.
./docker_build.sh to build the docker image./docker_run.sh to run the containerhttp://localhost:3030 to view the simulatordocker stop flight-sim to stop the containernpm install to install dependencies (node >= v14 required)npm run build to build the front-end viewbuild/ folder to the socket/ directory under socket/build/.socket/ directory
npm install to install socket dependenciesnode server.js to run the simulatorSimply run the simulator based on the install method chosen above. Then, scan the QR code shown with a smartphone. Once connected, it should begin to control the airplane like a joystick. Hold the phone upright, with the charging port facing down, and the screen facing to your left. Enjoy!
Content type
Image
Digest
sha256:010dcb457…
Size
470.5 MB
Last updated
over 3 years ago
docker pull jdehal/flight-sim