Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

fmg

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Newbie

About fmg

  • Rank
    Newbie
  1. Hi! Let's say I want to animate an SVG circle element. I can move it around by tweening its center (cx, cy), or its (x, y) coordinates. Is there a difference between these choices, e.g., in performance? I've read that tweening x and y is just sugar for doing a css translation, which is supposed to be GPU accelerated. (Indeed, a "translate" attribute gets added to the circle node.) On the other hand, tweening cx and cy makes it easy to work in absolute coordinates, whereas the coordinate system for x and y is relative to the element being animated (right?)... Matt
×