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).
Users could define their own custom REGL program using this module. REGL programs could be used as a renderable generator, effect, or compositor.
A custom program that can be used with REGL.
Encode a custom program to an object.
Usually users could use the following functions to construct a custom program by only providing the fragment shader and uniforms:
Make a custom effect program simply.
In the fragment shader, use texture2D(texture, vuv) to sample the texture.
You could also use vec2 view to get the size of virtual canvas.
Make a custom composite program simply.
t1 and t2 are the names of the texture uniforms in the program.
If more customization is needed, users could use the following functions:
Make a custom composite program.
src and dst are the names of the texture uniforms in the program.
Make a custom effect program.
texname is the name of the texture uniform in the program.
A value that can be either a static value or a dynamic value.