linsyking/elm-regl/4.0.0

NOTE: the latest version is 10.0.0

Renamed to elm-messenger/elm-regl. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as linsyking/elm-regl still install under that name. 5 versions of 15 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/elm-messenger/elm-regl.

What we checked: The repo moved to github.com/elm-messenger/elm-regl. Rebuilt with git archive from commit 62b86136f80b of https://github.com/elm-messenger/elm-regl (zip prefix linsyking-elm-regl-7f69059/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 09d70f8ea9a0742ac125747bce0e239afb59d789.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/linsyking/elm-regl/zipball/4.0.0/

REGL.Compositors

Compositors

Compose two renderables using various shaders.

Default Compositors

dstOverSrc : Renderable -> Renderable -> Renderable

Draw the dst renderable over the src renderable.

maskBySrc : Renderable -> Renderable -> Renderable

Draw the dst renderable masked by the src renderable.

Fading Compositor

linearFade : Float -> Renderable -> Renderable -> Renderable

Linear fading effect.

imgFade : String -> Float -> Bool -> Renderable -> Renderable -> Renderable

Fading effect using a mask image.

Mask image is a gradient image, similar to this.