September 2001
Intermediate to advanced
592 pages
11h 42m
English
In this section, I can only hope to give you a flavor of what is possible with SVG filters. However, I think that I’ve provided enough to whet your appetite to spend time experimenting with them. Certainly, some impressive visual effects are possible.
The <feGaussianBlur> filter primitive defines in Listing 7.8 a generic filter you can use. In the first <use> element, you adjust the opacity of the Gaussian blur to 0.4:
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/ DTD/svg10.dtd"> <svg width="500" height="300"> <defs> <filter id="MyGaussianFilter"> <feGaussianBlur stdDeviation="1.5"/> </filter> ... |
Read now
Unlock full access