{"action":"created","issue":{"url":"https://api.github.com/repos/wout/svg.js/issues/385","labels_url":"https://api.github.com/repos/wout/svg.js/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/wout/svg.js/issues/385/comments","events_url":"https://api.github.com/repos/wout/svg.js/issues/385/events","html_url":"https://github.com/wout/svg.js/issues/385","id":106746802,"number":385,"title":"Pattern Rotation Animation","user":{"login":"inluxc","id":584683,"avatar_url":"https://avatars.githubusercontent.com/u/584683?v=3","gravatar_id":"","url":"https://api.github.com/users/inluxc","html_url":"https://github.com/inluxc","followers_url":"https://api.github.com/users/inluxc/followers","following_url":"https://api.github.com/users/inluxc/following{/other_user}","gists_url":"https://api.github.com/users/inluxc/gists{/gist_id}","starred_url":"https://api.github.com/users/inluxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inluxc/subscriptions","organizations_url":"https://api.github.com/users/inluxc/orgs","repos_url":"https://api.github.com/users/inluxc/repos","events_url":"https://api.github.com/users/inluxc/events{/privacy}","received_events_url":"https://api.github.com/users/inluxc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-09-16T10:42:07Z","updated_at":"2015-11-04T18:49:48Z","closed_at":null,"body":"Ok, first of all sorry for being a pain the ass,  lol :D\r\n\r\nThe pattern rotation works fine, but not with animation i get the following error.\r\n\r\n```\r\nUncaught TypeError: this.node.getCTM is not a function\r\nSVG.Matrix.SVG.invent.construct.ctm @ svg.min.js:1915\r\nSVG.FX.SVG.invent.extend.attr @ svg.min.js:1354\r\nSVG.extend.transform @ svg.min.js:2120\r\nSVG.extend.rotate @ svg.min.js:3815\r\nmouseover @ site.js:311\r\n(anonymous function) @ site.js:340\r\nforEach.SVG.Element.(anonymous function).f.node.(anonymous function) @ svg.min.js:2327\r\n```"},"comment":{"url":"https://api.github.com/repos/wout/svg.js/issues/comments/153827930","html_url":"https://github.com/wout/svg.js/issues/385#issuecomment-153827930","issue_url":"https://api.github.com/repos/wout/svg.js/issues/385","id":153827930,"user":{"login":"Fuzzyma","id":3540542,"avatar_url":"https://avatars.githubusercontent.com/u/3540542?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuzzyma","html_url":"https://github.com/Fuzzyma","followers_url":"https://api.github.com/users/Fuzzyma/followers","following_url":"https://api.github.com/users/Fuzzyma/following{/other_user}","gists_url":"https://api.github.com/users/Fuzzyma/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuzzyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuzzyma/subscriptions","organizations_url":"https://api.github.com/users/Fuzzyma/orgs","repos_url":"https://api.github.com/users/Fuzzyma/repos","events_url":"https://api.github.com/users/Fuzzyma/events{/privacy}","received_events_url":"https://api.github.com/users/Fuzzyma/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T18:49:48Z","updated_at":"2015-11-04T18:49:48Z","body":"@GrupoWebex the implementation with +- would lead to LOTS OF confusing:\r\n\r\n```javascript\r\nel.rotate(45) // rotates to 45\r\nel.rotate(+45) // does the same\r\nel.rotate(-45) // rotates 45 back? or rotates to -45?\r\n```\r\n\r\nThe value -45° is a valid and therefore you cant missuse it as indicator of the direction.\r\nIts however common sense that the value is always animated in the `which one is higher` direction.\r\nSo 45 to 300 will always rotate the one way and 300 to 45 the other way round. If you want to rotate further you have to write 300 to 360 + 45 = 405 instead"}}