Last active
August 3, 2018 13:13
-
-
Save dmitry/46cb5be69104b19b44891000aad8b048 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
urls = %w(3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 54 60 66 72 84 96 108 120 132 144 156 168 180).map do |i| | |
"https://www.passageweather.com/maps/baltic/rain/%03d.png" % i | |
end | |
`wget #{urls.join(' ')}` | |
`convert -loop 0 -delay 50 *.png rain.gif` | |
`rm *.png` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment