6 ms·
Yes! Great idea! I've been working on a similar, but different project recently. Using screenshots instead of git. I wanted to see the change in air quality due
by 13rac1 6y ago
Yes! Great idea! I've been working on a similar, but different project recently. Using screenshots instead of git. I wanted to see the change in air quality due to the wildfires over time, so I'm making time-lapse videos: PurpleAir Air Quality 7200X Time-Lapse - Glass Fire - San Francisco Bay Area - 9/28-10/3 https://youtu.be/CFT-EIEmzfM https://youtu.be/CFT-EIEmzfM
- wferrell 6y agoHow did you capture all these screenshots? Great video!
- victor9000 6y agoYou can use Puppeteer to drive the web scraping and use page.screenshot() to capture images. You can find a quick example in the docs below: https://github.com/puppeteer/puppeteer/blob/v5.3.1/docs/api.md#class-page https://github.com/puppeteer/puppeteer/blob/v5.3.1/docs/api....
- 13rac1 6y agoThanks! Yes, it's puppeteer, plus imagemagick to add transparency using an overlay on an empty map, and ffmpeg to make the 60fps video. A lot of data, currently have over 200GB.
- scollet 6y agoScarifying! Thanks!
- welder 6y agoPurpleair also has a JSON api if you want the raw data behind those screenshots.