Try it at valentecaio.itch.io/voroplan.
VoroPlan is an interactive Voronoi diagram of the metro and bike-sharing station networks in the city of Rio de Janeiro. It collects real-data about stations from Metro Rio and Bike Rio (official Rio's bike-sharing system) websites. Click on the map to create new stations, or move existing stations by dragging and dropping them.
The project is built on Node.js runtime and uses Leaflet for the map drawing and D3.js for the basic geometric calculations.
For more information, see the technical report and the demo video.
To run this project locally, follow the steps outlined below.
- Install Node.js from nodejs.org.
- Install the dependencies:
$ npm install
- Run the node server:
$ npm run dev
- Access the application at localhost:5173 in a browser.
To build the project, follow the steps below.
- Install Node.js from nodejs.org.
- Install the dependencies:
$ npm install
- Run the build script:
$ npm run build
- The build will be available in the
dist/
folder. - Zip the contents of the
dist/
folder and upload it to a server.