{"action":"created","issue":{"url":"https://api.github.com/repos/thomasp85/gganimate/issues/153","repository_url":"https://api.github.com/repos/thomasp85/gganimate","labels_url":"https://api.github.com/repos/thomasp85/gganimate/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/thomasp85/gganimate/issues/153/comments","events_url":"https://api.github.com/repos/thomasp85/gganimate/issues/153/events","html_url":"https://github.com/thomasp85/gganimate/issues/153","id":353281759,"node_id":"MDU6SXNzdWUzNTMyODE3NTk=","number":153,"title":"[Feature request]: Transition treshold","user":{"login":"marcosci","id":10864574,"node_id":"MDQ6VXNlcjEwODY0NTc0","avatar_url":"https://avatars0.githubusercontent.com/u/10864574?v=4","gravatar_id":"","url":"https://api.github.com/users/marcosci","html_url":"https://github.com/marcosci","followers_url":"https://api.github.com/users/marcosci/followers","following_url":"https://api.github.com/users/marcosci/following{/other_user}","gists_url":"https://api.github.com/users/marcosci/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosci/subscriptions","organizations_url":"https://api.github.com/users/marcosci/orgs","repos_url":"https://api.github.com/users/marcosci/repos","events_url":"https://api.github.com/users/marcosci/events{/privacy}","received_events_url":"https://api.github.com/users/marcosci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-23T08:44:07Z","updated_at":"2018-08-23T18:04:35Z","closed_at":null,"author_association":"NONE","body":"Hey Thomas,\r\n\r\nthanks a ton for the gganimate makeover!\r\n\r\nComing from the ecological modeling perspective to gganimate, it would be nice if we could use gganimate without specifying the number of frames to the number of our simulation steps. This is needed because our object of animation (in this example a point) is moving on a wrapped world (a torus) and is leaving the \"world\" on one site and entering it on the opposite.\r\n\r\nIf we are now interpolating between the movement steps, we are dragging them for example from the left to the right, instead of just letting them reappear on the right side again.\r\n\r\nSee here for example (without an ease and therefore quite wiggly):\r\n\r\n![](https://nldoc.github.io/nlrx/articles/articles/wolfsheep_world.gif)\r\n\r\nTo counteract that one could, for example, set a threshold of distances between data points and if we are above this threshold instead of applying the specified transformation it would just perform an out-in animation? This would a huge benefit also for shadow trails because drawing a line for example behind the point would not cross the entire plot area.\r\n\r\nDoes that make any sense, if not - I am happy to provide more plots showing what I mean.\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/thomasp85/gganimate/issues/comments/415513988","html_url":"https://github.com/thomasp85/gganimate/issues/153#issuecomment-415513988","issue_url":"https://api.github.com/repos/thomasp85/gganimate/issues/153","id":415513988,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTUxMzk4OA==","user":{"login":"thomasp85","id":1775316,"node_id":"MDQ6VXNlcjE3NzUzMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1775316?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T18:04:35Z","updated_at":"2018-08-23T18:04:35Z","author_association":"OWNER","body":"@jonspring’s approach is the right one. I don’t think this situation is general enough (and has a general solution) to be included as a feature in gganimate"}}
{"actor":{"display_login":"thomasp85"}}