The code for radial gradients and conic gradients can be cleaned up, but it can wait until we implement it and have a better understanding of the spec. This is a huge step forward for the project and its capabilities.
Thanks @gluck I could have never done this without you.
Based on #16 with some refactoring to make things cleaner and more understandable.
Changes in this PR beyond #16 are:
From https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Images/Using_CSS_gradients#stacked_gradients
The code for radial gradients and conic gradients can be cleaned up, but it can wait until we implement it and have a better understanding of the spec. This is a huge step forward for the project and its capabilities.
Thanks @gluck I could have never done this without you.