Sha256: ed1126c9983a909631330e28fb3ec3c9113fd471e2b85360b3642dbe92d16fa4

Contents?: true

Size: 579 Bytes

Versions: 4

Compression:

Stored size: 579 Bytes

Contents

<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="../../d3.js"></script>
<script>

var svg = d3.select("body").append("svg")
    .attr("width", 960)
    .attr("height", 500);

var g = svg.append("g")
    .attr("transform", "translate(100,100)")
  .append("g")
    .attr("transform", "translate(0,0)rotate(0)");

var rect = g.append("rect")
    .attr("x", -25)
    .attr("y", -50)
    .attr("width", 50)
    .attr("height", 100);

g.transition()
    .duration(3000)
    .attrTween("transform", d3.tween("translate(100,100)rotate(360)", d3.interpolateString));

</script>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stripchart-0.0.3 lib/stripchart/public/components/d3/test/math/transform-null-test.html
stripmem-0.0.3 lib/stripmem/public/components/d3/test/math/transform-null-test.html
stripmem-0.0.2 lib/stripmem/public/components/d3/test/math/transform-null-test.html
stripmem-0.0.1 lib/stripmem/public/components/d3/test/math/transform-null-test.html