Concurrent Transitions II
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jul 25, 2013
A black cross glyph rotates continuously while its red stroke pulses in width. The animation uses concurrent D3 transitions on a parent `g` element and a child `path` element, with `transition.attrTween` interpolating a rotation transform from 0 to 720 degrees and `transition.style` animating `stroke-width` between 30 and 0 pixels. The SVG path is generated with `d3.svg.symbol().type("cross")`.
AI-generated descriptionAn alternative approach to concurrent transitions, here using concurrent transitions on a parent g element and a child path element.
gpl-3.0 Licensed