foosbar icon indicating copy to clipboard operation
foosbar copied to clipboard

Adds ability to run frontend without the table or controller

Open jontonsoup4 opened this issue 8 months ago • 0 comments

Description

Loved your video! I wanted to get the frontend code running without having to have the table or a controller plugged in, and what started as a small test ended up in this PR. Every change I made was in the frontend, and this will allow more people to see and interact with your cool project.

Here's a deployed version of the app!

Changes

  • Added a README
    • Added a deployed demo link to the readme
    • Added installation instructions
  • Fixed animation loop to allow for running without a connection to the server or a controller
  • Fixed rendering bug to allow for higher resolution rendering
  • Leverage Vite for building instead of the http-server
  • Updates Vite config (window will open automatically when server starts and the asset resolution is fixed)
  • Fixes the outdated three/examples imports
  • Adds globalControls const to use for lil-gui debugging
  • Adds dampening and maxPolarAngle to OrbitControls and removes panning
  • Removed unused code and console.logs
  • Ran prettier over everything, so misc code styling changes

New Packages

  • Adds lil-gui for debugging/fun
  • Added prettier for code formatting. I kept most of the stylistic choices you already had

Removed Packages

  • Removes http-server in favor of vite

jontonsoup4 avatar Jun 06 '24 04:06 jontonsoup4