diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-03-23 13:12:43 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-01 22:25:51 +0300 |
| commit | d1e4dd4975aab7374022bac6b276961855622eb9 (patch) | |
| tree | 7718d23306aa8fd00abd8b0310ae4dc4a22b9d4f /src/client/view/bubble.js | |
| parent | f75ce21c1d6101bdd435d8bcf25ded0e0534a380 (diff) | |
creation bubble SVG blur effect
Diffstat (limited to 'src/client/view/bubble.js')
| -rw-r--r-- | src/client/view/bubble.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/view/bubble.js b/src/client/view/bubble.js index 0b3787b7..c9f45701 100644 --- a/src/client/view/bubble.js +++ b/src/client/view/bubble.js @@ -21,6 +21,9 @@ function Bubble(raw_parent, radius) { circle.className.baseVal = 'circle bubble'; circle.id = 'bubble'; + d3.select('#bubble').attr('stroke-width', 10) + .attr('filter', 'url(#f_blur__creation-circle)') + // reset bubble on radius change and window resize Bacon.combineWith(function (r, _) { return r; }, radius, $(window).asEventStream('resize').toProperty(0)).onValue( function (r) { |
