toddwschneider / nyc-citibike-data

NYC Citi Bike system data and analysis
MIT License
242 stars 93 forks source link

Torque.js open source #11

Closed benedekrozemberczki closed 4 years ago

benedekrozemberczki commented 4 years ago

Could you open-source the Torque.js script?

toddwschneider commented 4 years ago

Hi @benedekrozemberczki, I'm not sure exactly what you mean, but if you view source of this page, you'll see a link to https://toddwschneider.com/javascripts/citibike.js, which includes the Torque code. The top portion of that file is the torque.js library itself. My code starts at the line $(function() {

The only other piece that I can remember is that I used this repo to generate the Torque tilecubes. Unfortunately I don't have the exact command I ran, but it definitely used the torque-gen repo. Sorry this probably doesn't 100% answer your question, but those are all the resources I can remember. Thanks

toddwschneider commented 4 years ago

For what it's worth, if I were redoing it today, I might look into using a different library like deck.gl or Mapbox GL JS

benedekrozemberczki commented 4 years ago

Thank You!

On Sun, 21 Jun 2020 at 11:33, toddwschneider notifications@github.com wrote:

For what it's worth, if I were redoing it today, I might look into using a different library like deck.gl https://deck.gl/#/examples/core-layers/trips-layer or Mapbox GL JS https://docs.mapbox.com/mapbox-gl-js/api/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toddwschneider/nyc-citibike-data/issues/11#issuecomment-647115962, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEETMFZ2S5EVTMDRLXSCKN3RXXVZTANCNFSM4ODQSSDA .