SVG coloring book

svg

(Jason White) #1

I am trying to create a simple coloring book inside a larger Hype project.

I would like to be able to address groups or paths within an SVG that I created in Illustrator. I just want to change the fill color of the group to whatever color is selected from the palette. This example is the closest that I have found to what I want to achieve.

Any help is greatly appreciated.


(π•„π•šπ•”π•™π•’π•–π• 𝔾𝕒𝕣𝕠𝕗𝕒𝕝𝕠) #2

Well, you could just make an HTML Widget (iFrame) to add custom code.

Hype doesn’t really have support for custom interactivity with SVG shapes. Maybe with some JavaScript, it could be done, but that wouldn’t be so easy.