Thanks for all the suggestions. I skimmed over svg and found out how build 
an image from scratch by drawing circles and polygons etc. However I did 
not spot a function to load an image from file, am I missing something?

On Wednesday, September 7, 2016 at 8:49:08 PM UTC+2, John Bugner wrote:
>
> The old graphics library is here: 
> http://package.elm-lang.org/packages/evancz/elm-graphics/1.0.0
>
> I say 'old' though, because it's been deprecated (and (re)moved from 
> elm-lang's account to Evan's personal account). You should use svg instead. 
> (Also, a warning if you insist on trying to use the canvas: The coordinate 
> system is different from vanilla JS; (0,0) is in the *center* of the canvas 
> instead of the top-left corner.) (The coordinate system of svg is still 
> standard though.)
>
> On Wednesday, September 7, 2016 at 8:29:21 AM UTC-5, Jan Weidner wrote:
>>
>> Thanks! How do I use canvas from elm? Is there a canvas elm example 
>> somewhere?
>>
>> On Wednesday, September 7, 2016 at 3:03:59 PM UTC+2, Charlie Koster wrote:
>>>
>>> The first thing I'll mention is writing your own map application is a 
>>> huge undertaking. But it doesn't hurt to try with Elm :)
>>>
>>> Have you considered rendering that huge map image on a canvas? Image 
>>> manipulation on a canvas might give you better performance.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to