Go to file
2018-04-22 19:29:30 -04:00
img Improve prod build. Add screenshot to readme. 2018-04-16 17:52:07 -04:00
src Hide train sprites initially to avoid flash 2018-04-22 19:29:30 -04:00
typings Use image sprite for trains 2018-04-15 04:02:54 -04:00
.eslintrc.js Initial commit: webpack building a blank canvas 2018-03-31 01:07:44 -04:00
.gitignore Initial commit: webpack building a blank canvas 2018-03-31 01:07:44 -04:00
CNAME Keep CNAME on master, copy it on build to deploy 2018-04-16 23:00:50 -04:00
index.html Initial commit: webpack building a blank canvas 2018-03-31 01:07:44 -04:00
LICENSE.txt Initial commit: webpack building a blank canvas 2018-03-31 01:07:44 -04:00
package-lock.json Rework Line gen, add stats & viewport 2018-04-16 16:59:28 -04:00
package.json Keep CNAME on master, copy it on build to deploy 2018-04-16 23:00:50 -04:00
README.md Improve prod build. Add screenshot to readme. 2018-04-16 17:52:07 -04:00
tsconfig.json Use image sprite for trains 2018-04-15 04:02:54 -04:00
tslint.json Add TypeScript, generate stations and a line 2018-04-05 22:41:19 -04:00
webpack.config.js Improve prod build. Add screenshot to readme. 2018-04-16 17:52:07 -04:00

Transport

Work-in-progress procedurally generated train network simulation written in Typescript with PixiJs.

Screenshot of simulation

Development

Clone the repo and then run:

npm install
npm start

Then visit http://localhost:8888 in your browser to view the development build. Edit files in /src and see the changes reflected in the browser.

Test

No tests right now. But, to run lint checks:

npm run lint

Deploy

Run:

npm run build
npm run deploy