d3-celestial
d3-celestial copied to clipboard
Image background instead of color.
Dear community,
Is is possible to set an image as a background instead of a color? As far as we know we can only configure the background color.
I've added an example to clarify myself.
Looking forward to a reply.
With kind regards, Andy
You could set the background transparent (background.opacity = 0 in the configuration) and put an image in the background of the page, if you do it in html. Setting an image instead of a color in d3-celestial would be possible, but the standard color selection input element doesn't allow this. So I'll need to make one myself, which would take some time, or find an extension that offers more complete background selection /w color, gradient, brush, image or so. Do you know any?
If it’s just a one off you could export to svg and change the background in adobe/ Inkscape.
On Fri, Jun 19, 2020 at 4:08 PM Olaf Frohn [email protected] wrote:
You could set the background transparent (background.opacity = 0 in the configuration) and put an image in the background of the page, if you do it in html. Setting an image instead of a color in d3-celestial would be possible, but the standard color selection input element doesn't allow this. So I'll need to make one myself, which would take some time, or find an extension that offers more complete background selection /w color, gradient, brush, image or so. Do you know any?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ofrohn/d3-celestial/issues/79#issuecomment-646842540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGHUMHUXLV6KMZLLMZGT3TRXPATTANCNFSM4OARFAJQ .
-- Thank you,
Sam Price (707) 742-3726