mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-11 16:12:20 +00:00
Geo projections (#52)
Former-commit-id: bc6475b83149db308bf541f1a49b6a8e67729a81
This commit is contained in:
parent
bfb3b0f874
commit
cbfb95f9be
31 changed files with 1160 additions and 21 deletions
12
examples/doc_lambertP.hs
Executable file
12
examples/doc_lambertP.hs
Executable 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
|
||||
Loading…
Reference in a new issue