{"action":"created","issue":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3621","repository_url":"https://api.github.com/repos/endless-sky/endless-sky","labels_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3621/labels{/name}","comments_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3621/comments","events_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3621/events","html_url":"https://github.com/endless-sky/endless-sky/pull/3621","id":293369302,"number":3621,"title":"Multiple outlines in mask.","user":{"login":"flaviojs","id":1009600,"avatar_url":"https://avatars2.githubusercontent.com/u/1009600?v=4","gravatar_id":"","url":"https://api.github.com/users/flaviojs","html_url":"https://github.com/flaviojs","followers_url":"https://api.github.com/users/flaviojs/followers","following_url":"https://api.github.com/users/flaviojs/following{/other_user}","gists_url":"https://api.github.com/users/flaviojs/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviojs/subscriptions","organizations_url":"https://api.github.com/users/flaviojs/orgs","repos_url":"https://api.github.com/users/flaviojs/repos","events_url":"https://api.github.com/users/flaviojs/events{/privacy}","received_events_url":"https://api.github.com/users/flaviojs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-01T01:10:12Z","updated_at":"2018-02-03T23:24:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/endless-sky/endless-sky/pulls/3621","html_url":"https://github.com/endless-sky/endless-sky/pull/3621","diff_url":"https://github.com/endless-sky/endless-sky/pull/3621.diff","patch_url":"https://github.com/endless-sky/endless-sky/pull/3621.patch"},"body":"This was created while experimenting with alternate ways of showing outlines and is being split off to this PR because it fixes sparks in transparent areas.\r\n\r\nMain change:\r\n * Generate multiple outlines in `Mask`, adding support for holes and independent shapes.\r\nThanks to that, sparks no longer appear in holes: (image by @tehhowch) \r\n![outline_hole](https://user-images.githubusercontent.com/1009600/35655738-4fdc1812-06eb-11e8-8d4a-f1d1c3b39426.png)\r\n\r\nOther changes:\r\n* More accurate image traces by interpolating the position with the directions and the alpha value.\r\n* Smoother simplified outlines (closer to original image) by using squared area instead of squared distance to decide when to stop simplifying.\r\n"},"comment":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/comments/362865150","html_url":"https://github.com/endless-sky/endless-sky/pull/3621#issuecomment-362865150","issue_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3621","id":362865150,"user":{"login":"Amazinite","id":17688683,"avatar_url":"https://avatars1.githubusercontent.com/u/17688683?v=4","gravatar_id":"","url":"https://api.github.com/users/Amazinite","html_url":"https://github.com/Amazinite","followers_url":"https://api.github.com/users/Amazinite/followers","following_url":"https://api.github.com/users/Amazinite/following{/other_user}","gists_url":"https://api.github.com/users/Amazinite/gists{/gist_id}","starred_url":"https://api.github.com/users/Amazinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amazinite/subscriptions","organizations_url":"https://api.github.com/users/Amazinite/orgs","repos_url":"https://api.github.com/users/Amazinite/repos","events_url":"https://api.github.com/users/Amazinite/events{/privacy}","received_events_url":"https://api.github.com/users/Amazinite/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T23:24:49Z","updated_at":"2018-02-03T23:24:49Z","author_association":"CONTRIBUTOR","body":"I believe that the ship builder would need updating to express the changes to collision masks as well."}}
{"actor":{"display_login":"Amazinite"}}