mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +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_bonneP.hs
Executable file
12
examples/doc_bonneP.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 (bonneP (45/180*pi))
|
||||
12
examples/doc_bottomleyP.hs
Executable file
12
examples/doc_bottomleyP.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 (bottomleyP (30/180*pi))
|
||||
12
examples/doc_collignonP.hs
Executable file
12
examples/doc_collignonP.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 collignonP
|
||||
12
examples/doc_eckert1P.hs
Executable file
12
examples/doc_eckert1P.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 eckert1P
|
||||
12
examples/doc_eckert3P.hs
Executable file
12
examples/doc_eckert3P.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 eckert3P
|
||||
12
examples/doc_eckert5P.hs
Executable file
12
examples/doc_eckert5P.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 eckert5P
|
||||
12
examples/doc_equirectangularP.hs
Executable file
12
examples/doc_equirectangularP.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 equirectangularP
|
||||
12
examples/doc_faheyP.hs
Executable file
12
examples/doc_faheyP.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 faheyP
|
||||
12
examples/doc_hammerP.hs
Executable file
12
examples/doc_hammerP.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 hammerP
|
||||
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
|
||||
12
examples/doc_mercatorP.hs
Executable file
12
examples/doc_mercatorP.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 mercatorP
|
||||
12
examples/doc_mollweideP.hs
Executable file
12
examples/doc_mollweideP.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 mollweideP
|
||||
12
examples/doc_orthoP.hs
Executable file
12
examples/doc_orthoP.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 (orthoP 0 0)
|
||||
12
examples/doc_sinusoidalP.hs
Executable file
12
examples/doc_sinusoidalP.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 sinusoidalP
|
||||
12
examples/doc_smallEarth.hs
Executable file
12
examples/doc_smallEarth.hs
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack runghc --package reanimate
|
||||
module Main (main) where
|
||||
|
||||
import Reanimate
|
||||
import Reanimate.Builtin.Documentation
|
||||
import Reanimate.Builtin.Images
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ docEnv $ animate $ const $
|
||||
scaleToSize screenWidth screenHeight $
|
||||
embedImage smallEarth
|
||||
12
examples/doc_wernerP.hs
Executable file
12
examples/doc_wernerP.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 wernerP
|
||||
Loading…
Reference in a new issue