timjs / elm-collage

Create interactive vector graphics and position them relative to each other
BSD 3-Clause "New" or "Revised" License
58 stars 19 forks source link

Add gradient and pattern support #33

Open Kwarrtz opened 5 years ago

Kwarrtz commented 5 years ago

I noticed this was listed as a TODO in a comment in the source code, but didn't have its own issue, so I thought I'd open one.

Kwarrtz commented 5 years ago

It would be pretty easy to implement this by just cannibalizing the code from Graphics.Render, but since you seem to have intentionally cut that when you forked it, I'm assuming there's something you didn't like about that implementation?

timjs commented 5 years ago

I think I removed it because I planned to use the gradient support from the build in Color module. But the situation with Elm 0.19 is that Color is removed from core.

Think the idea was Evan would make a new module, but it is not there yet. Several packages are popping up now. The current situation is a bit messy...