reanimate/examples/doc_orthoP.hs
David Himmelstrup 458da0f2ec Country distortion video (#54)
* Support GeoJSON.

* Fix framerate issue for gifs.

* Vastly improve performance for SVG serialization.

Former-commit-id: b0dbb06b8810d56aa993d7138dd97c9e514db2e3
2020-02-20 21:22:36 +08:00

12 lines
342 B
Haskell
Executable file

#!/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 (orthoP $ LonLat 0 0)