Increased the circles radius
parent
bb60ea1447
commit
80a72714c8
|
@ -148,10 +148,10 @@ bigCircle.attr({
|
|||
});</li>
|
||||
<li>// Despite our small circle now is a part of a group
|
||||
// and a part of a mask we could still access it:
|
||||
smallCircle.animate({r: 25}, 1000);</li>
|
||||
smallCircle.animate({r: 50}, 1000);</li>
|
||||
<li>// We don’t have reference for second small circle,
|
||||
// but we could easily grab it with CSS selectors:
|
||||
discs.select("circle:nth-child(2)").animate({r: 25}, 1000);</li>
|
||||
discs.select("circle:nth-child(2)").animate({r: 50}, 1000);</li>
|
||||
<li>// Now lets create pattern
|
||||
var p = s.path("M10-5-10,15M15,0,0,15M0-5-20,15").attr({
|
||||
fill: "none",
|
||||
|
|
Loading…
Reference in New Issue