This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Free-form graphics, great for games and teaching (backed by canvas)
version 1.0.1
license BSD3
native-modules True
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.1
Committed At 2016-11-03 21:06:05 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1


Elm's Original Graphics Library

Elm actually started as a small set of visual elements, not a language. That is partly why I chose the name Elm out of all the nice tree names out there. This library is that original set of graphical primitives.

In particular, the Graphics.Collage module is really nice for free-form graphics and projects like McMaster Outreach have used it successfully for teaching programming in a way that is fun, easy, and interactive.

If you are working on professional web apps, it is better to stick to HTML and SVG for now. It is true that Graphics.Collage is backed by <canvas>, but I expect we will eventually have an API specifically targetted at canvas that covers more features. So if you need super advanced canvas stuff, it may be better to manage that in JavaScript and communicate to Elm with ports.