Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/two-n/um-3d-plane
https://github.com/two-n/um-3d-plane
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/two-n/um-3d-plane
- Owner: two-n
- License: mit
- Created: 2021-09-28T15:53:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-06T19:51:53.000Z (over 3 years ago)
- Last Synced: 2024-04-14T19:54:01.975Z (9 months ago)
- Language: JavaScript
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# um-3d-plane
data visualizations for UM 3d plane### `yarn install`
goes through and installs all dependencies### `yarn dev`
compiles code and starts a developement server at `http://localhost:1234`.### `yarn build` or `yarn prototypes-build`
builds static, compiled filed in `dist` folder. Use `prototypes-build` when building for two-n prototype deployment because it sets the correct base URL to be able to load in the assets.### `yarn deploy`
to deploy to [two-n prototypes site](http://prototypes.two-n.com/UM-3d-plane/).### `node ./dataPrep.mjs`
parses csv file named `UM_Chessboard_Data.csv` in `./data` folder and creates a json file called `formattedData.json` that is read into `./src/globals/data`*requirements for generating data*
* csv must be named `UM_Chessboard_Data.csv`
* csv must have the following column format: name,x_values,z_values,y_values,year
* `name` data must be capitalized to match in-app dictionaries for color and images (e.g. "Accenture")
* `z_values` and `y_values` must be swapped in the csv after receiving them from the client due to the way three.js draws on the canvas