Geo projections (#52)

Former-commit-id: bc6475b83149db308bf541f1a49b6a8e67729a81
This commit is contained in:
David Himmelstrup 2020-02-11 19:10:45 +08:00 committed by GitHub
commit cbfb95f9be
31 changed files with 1160 additions and 21 deletions

12
examples/doc_lambertP.hs Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env stack
-- stack runghc --package reanimate
module Main (main) where
import Reanimate
import Reanimate.GeoProjection
import Reanimate.Builtin.Images
main :: IO ()
main = reanimate $ animate $
const $ scaleToSize screenWidth screenHeight $
embedImage $ project smallEarth lambertP