| 1 | <svg |
| 2 | xmlns='http://www.w3.org/2000/svg' |
| 3 | xmlns:svg='http://www.w3.org/2000/svg' |
| 4 | width='100' |
| 5 | height='100'> |
| 6 | <defs> |
| 7 | <filter |
| 8 | id='filter'> |
| 9 | <feFlood |
| 10 | x='10' |
| 11 | y='10' |
| 12 | width='20' |
| 13 | height='20' |
| 14 | flood-color='rgb(255,0,0)'> |
| 15 | </feFlood> |
| 16 | <feGaussianBlur |
| 17 | width='50%' |
| 18 | height='50%' |
| 19 | result='blurred_source' |
| 20 | in='SourceGraphic' |
| 21 | stdDeviation='0.2' |
| 22 | edgeMode='duplicate'> |
| 23 | </feGaussianBlur> |
| 24 | <feBlend |
| 25 | result='snow' |
| 26 | in='blurred_source' |
| 27 | in2='FillPaint' |
| 28 | mode='color-burn' |
| 29 | no-composite='no-composite'> |
| 30 | </feBlend> |
| 31 | <feColorMatrix |
| 32 | in='blurred_source' |
| 33 | values='0 1 0 1 0 1 0 0 0 0.2 0 0 0.8 0 0 0 0 0 1.1 0'> |
| 34 | </feColorMatrix> |
| 35 | <feColorMatrix |
| 36 | in='blurred_source' |
| 37 | type='hueRotate' |
| 38 | values='45'> |
| 39 | </feColorMatrix> |
| 40 | <feColorMatrix |
| 41 | in='blurred_source' |
| 42 | type='saturate' |
| 43 | values='0.9'> |
| 44 | </feColorMatrix> |
| 45 | <feColorMatrix |
| 46 | in='blurred_source' |
| 47 | type='luminanceToAlpha'> |
| 48 | </feColorMatrix> |
| 49 | <feComposite |
| 50 | result='sludge' |
| 51 | in='snow' |
| 52 | in2='SourceAlpha' |
| 53 | operator='atop'> |
| 54 | </feComposite> |
| 55 | <feOffset |
| 56 | in='sludge' |
| 57 | dx='10' |
| 58 | dy='10'> |
| 59 | </feOffset> |
| 60 | <feDisplacementMap |
| 61 | in='BackgroundImage' |
| 62 | in2='pile' |
| 63 | scale='20' |
| 64 | xChannelSelector='R'> |
| 65 | </feDisplacementMap> |
| 66 | <feTile |
| 67 | x='0' |
| 68 | y='0' |
| 69 | width='10' |
| 70 | height='10' |
| 71 | in='blurred_source'> |
| 72 | </feTile> |
| 73 | <feImage |
| 74 | href='example.png'> |
| 75 | </feImage> |
| 76 | <feMerge |
| 77 | x='10%' |
| 78 | y='10%' |
| 79 | result='xyz'> |
| 80 | <feMergeNode |
| 81 | in='x'> |
| 82 | </feMergeNode> |
| 83 | <feMergeNode |
| 84 | in='y'> |
| 85 | </feMergeNode> |
| 86 | <feMergeNode |
| 87 | in='z'> |
| 88 | </feMergeNode> |
| 89 | </feMerge> |
| 90 | <feComponentTransfer> |
| 91 | <feFuncR |
| 92 | type='table' |
| 93 | tableValues='0.1 0.2 0.9'> |
| 94 | </feFuncR> |
| 95 | <feFuncR |
| 96 | type='gamma' |
| 97 | exponent='2'> |
| 98 | </feFuncR> |
| 99 | <feFuncG |
| 100 | type='linear' |
| 101 | slope='0.5' |
| 102 | intercept='0.2'> |
| 103 | </feFuncG> |
| 104 | <feFuncB |
| 105 | type='discrete' |
| 106 | offset='1'> |
| 107 | </feFuncB> |
| 108 | </feComponentTransfer> |
| 109 | </filter> |
| 110 | </defs> |
| 111 | <circle |
| 112 | filter='url(#filter)' |
| 113 | cx='50' |
| 114 | cy='50' |
| 115 | r='40'> |
| 116 | </circle> |
| 117 | </svg> |