Commit Graph

7 Commits

Author SHA1 Message Date
4d1ef84568 Try initializing and move trains in Web Workers
Unfortunately, all of the train data has to be copied from the train web worker
to the main thread on every tick so it knows the new positions of the trains to
render. So every few ticks, the GC causes a little lag as it collects ~90+MB of
obsolete train arrays. There's no way for the two threads to share the same data
thanks to Spectre.
2018-04-22 18:40:20 -04:00
95805184ea Add Direction for 4 colored directional Lines
Trains still do not follow lines. Lines do not reach every station. I need to
redo the Line creation.
2018-04-14 23:26:10 -04:00
7c488cf2ca Proper Station color averaging 2018-04-14 18:09:25 -04:00
902645d46a Station and train colors 2018-04-10 01:31:49 -04:00
35e3f8f3a3 Continuously traveling trains 2018-04-09 23:41:16 -04:00
4b7bf5353c Out of control trains! 2018-04-06 01:07:16 -04:00
edae3f76f4 Add TypeScript, generate stations and a line 2018-04-05 22:41:19 -04:00