SVG: Fill ‘er up!


This pattern took a few seconds to create with the new line draw facility.

Now I have to figure out how to be able to select any area, say, one enclosed by 3 lines, and fill it with some color.

I’m thinking multi-key event listeners would work well here, in addition to some other tricks to actually create an enclosed area where the fill does not spill out due to the inherent imprecision of mouse clicking shapes by hand.

Looks like I am also going to have to implement a Despeckler.

Coding XVG is really starting to become interesting, now that a lot of the boilerplate is out of the way!