{"action":"created","issue":{"url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/152","repository_url":"https://api.github.com/repos/itsCoder/weeklyblog","labels_url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/152/comments","events_url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/152/events","html_url":"https://github.com/itsCoder/weeklyblog/pull/152","id":197782386,"number":152,"title":"第 8 期：GearMachine Canvas 绘制漂亮的齿轮装置 by andyxialm","user":{"login":"andyxialm","id":5976556,"avatar_url":"https://avatars.githubusercontent.com/u/5976556?v=3","gravatar_id":"","url":"https://api.github.com/users/andyxialm","html_url":"https://github.com/andyxialm","followers_url":"https://api.github.com/users/andyxialm/followers","following_url":"https://api.github.com/users/andyxialm/following{/other_user}","gists_url":"https://api.github.com/users/andyxialm/gists{/gist_id}","starred_url":"https://api.github.com/users/andyxialm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyxialm/subscriptions","organizations_url":"https://api.github.com/users/andyxialm/orgs","repos_url":"https://api.github.com/users/andyxialm/repos","events_url":"https://api.github.com/users/andyxialm/events{/privacy}","received_events_url":"https://api.github.com/users/andyxialm/received_events","type":"User","site_admin":false},"labels":[{"id":507175198,"url":"https://api.github.com/repos/itsCoder/weeklyblog/labels/%E7%AC%AC8%E6%9C%9F","name":"第8期","color":"1d76db","default":false},{"id":428365637,"url":"https://api.github.com/repos/itsCoder/weeklyblog/labels/%E8%AE%A4%E9%A2%86%E5%AE%A1%E9%98%85","name":"认领审阅","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"wuchangfeng","id":13432620,"avatar_url":"https://avatars.githubusercontent.com/u/13432620?v=3","gravatar_id":"","url":"https://api.github.com/users/wuchangfeng","html_url":"https://github.com/wuchangfeng","followers_url":"https://api.github.com/users/wuchangfeng/followers","following_url":"https://api.github.com/users/wuchangfeng/following{/other_user}","gists_url":"https://api.github.com/users/wuchangfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/wuchangfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuchangfeng/subscriptions","organizations_url":"https://api.github.com/users/wuchangfeng/orgs","repos_url":"https://api.github.com/users/wuchangfeng/repos","events_url":"https://api.github.com/users/wuchangfeng/events{/privacy}","received_events_url":"https://api.github.com/users/wuchangfeng/received_events","type":"User","site_admin":false},"assignees":[{"login":"wuchangfeng","id":13432620,"avatar_url":"https://avatars.githubusercontent.com/u/13432620?v=3","gravatar_id":"","url":"https://api.github.com/users/wuchangfeng","html_url":"https://github.com/wuchangfeng","followers_url":"https://api.github.com/users/wuchangfeng/followers","following_url":"https://api.github.com/users/wuchangfeng/following{/other_user}","gists_url":"https://api.github.com/users/wuchangfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/wuchangfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuchangfeng/subscriptions","organizations_url":"https://api.github.com/users/wuchangfeng/orgs","repos_url":"https://api.github.com/users/wuchangfeng/repos","events_url":"https://api.github.com/users/wuchangfeng/events{/privacy}","received_events_url":"https://api.github.com/users/wuchangfeng/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-28T01:44:46Z","updated_at":"2017-01-01T02:12:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/itsCoder/weeklyblog/pulls/152","html_url":"https://github.com/itsCoder/weeklyblog/pull/152","diff_url":"https://github.com/itsCoder/weeklyblog/pull/152.diff","patch_url":"https://github.com/itsCoder/weeklyblog/pull/152.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/comments/269889636","html_url":"https://github.com/itsCoder/weeklyblog/pull/152#issuecomment-269889636","issue_url":"https://api.github.com/repos/itsCoder/weeklyblog/issues/152","id":269889636,"user":{"login":"wuchangfeng","id":13432620,"avatar_url":"https://avatars.githubusercontent.com/u/13432620?v=3","gravatar_id":"","url":"https://api.github.com/users/wuchangfeng","html_url":"https://github.com/wuchangfeng","followers_url":"https://api.github.com/users/wuchangfeng/followers","following_url":"https://api.github.com/users/wuchangfeng/following{/other_user}","gists_url":"https://api.github.com/users/wuchangfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/wuchangfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuchangfeng/subscriptions","organizations_url":"https://api.github.com/users/wuchangfeng/orgs","repos_url":"https://api.github.com/users/wuchangfeng/repos","events_url":"https://api.github.com/users/wuchangfeng/events{/privacy}","received_events_url":"https://api.github.com/users/wuchangfeng/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T02:12:42Z","updated_at":"2017-01-01T02:12:42Z","body":"审阅完毕，以下是本期评语：一篇实战性比较强的文章，实现了一加官网的一个炫酷的齿轮动画。在了解本篇文章之前需要对 View 的坐标系，Canvas(画布)，Paint(画笔)，Path(路径绘图) 有较好的理解和熟练的使用程度。在有了上述基础之后可以跟着源码实现中间两个齿轮的旋转效果，这样就很容易理解啦。个人感觉比较本篇动画难点还是各种坐标的计算和理解。文章最后还是比较贴心的说明了在自定义动画时候，涉及到数值的变化可以利用 ValueAnimator 来帮助解决。感觉这样一步一步引入解决的问题的思路好赞。\r\n最后，非常推荐大家看看本篇文章所对应的源码实现，作者的代码写的非常干净，非常赞。"}}
{"actor":{"display_login":"wuchangfeng"}}