ball-triangle.svg 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
  2. <!-- Todo: add easing -->
  3. <svg width="57" height="57" viewBox="0 0 57 57" xmlns="http://www.w3.org/2000/svg" stroke="#fff">
  4. <g fill="none" fill-rule="evenodd">
  5. <g transform="translate(1 1)" stroke-width="2">
  6. <circle cx="5" cy="50" r="5">
  7. <animate attributeName="cy"
  8. begin="0s" dur="2.2s"
  9. values="50;5;50;50"
  10. calcMode="linear"
  11. repeatCount="indefinite" />
  12. <animate attributeName="cx"
  13. begin="0s" dur="2.2s"
  14. values="5;27;49;5"
  15. calcMode="linear"
  16. repeatCount="indefinite" />
  17. </circle>
  18. <circle cx="27" cy="5" r="5">
  19. <animate attributeName="cy"
  20. begin="0s" dur="2.2s"
  21. from="5" to="5"
  22. values="5;50;50;5"
  23. calcMode="linear"
  24. repeatCount="indefinite" />
  25. <animate attributeName="cx"
  26. begin="0s" dur="2.2s"
  27. from="27" to="27"
  28. values="27;49;5;27"
  29. calcMode="linear"
  30. repeatCount="indefinite" />
  31. </circle>
  32. <circle cx="49" cy="50" r="5">
  33. <animate attributeName="cy"
  34. begin="0s" dur="2.2s"
  35. values="50;50;5;50"
  36. calcMode="linear"
  37. repeatCount="indefinite" />
  38. <animate attributeName="cx"
  39. from="49" to="49"
  40. begin="0s" dur="2.2s"
  41. values="49;5;27;49"
  42. calcMode="linear"
  43. repeatCount="indefinite" />
  44. </circle>
  45. </g>
  46. </g>
  47. </svg>