{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/5548","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/5548/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/5548/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/5548/events","html_url":"https://github.com/highfidelity/hifi/pull/5548","id":100187830,"number":5548,"title":"Particle extensions","user":{"login":"ericrius1","id":908702,"avatar_url":"https://avatars.githubusercontent.com/u/908702?v=3","gravatar_id":"","url":"https://api.github.com/users/ericrius1","html_url":"https://github.com/ericrius1","followers_url":"https://api.github.com/users/ericrius1/followers","following_url":"https://api.github.com/users/ericrius1/following{/other_user}","gists_url":"https://api.github.com/users/ericrius1/gists{/gist_id}","starred_url":"https://api.github.com/users/ericrius1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericrius1/subscriptions","organizations_url":"https://api.github.com/users/ericrius1/orgs","repos_url":"https://api.github.com/users/ericrius1/repos","events_url":"https://api.github.com/users/ericrius1/events{/privacy}","received_events_url":"https://api.github.com/users/ericrius1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T23:01:51Z","updated_at":"2015-08-10T23:12:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/5548","html_url":"https://github.com/highfidelity/hifi/pull/5548","diff_url":"https://github.com/highfidelity/hifi/pull/5548.diff","patch_url":"https://github.com/highfidelity/hifi/pull/5548.patch"},"body":"This PR is one in a line of planned feature extensions for the particle entity. These changes add a property called directionSpread, which gives a random directional offset to each particle within a specified range. This allows for the creation of emitters with greater variety. For example, \r\n\r\n```javascript\r\nvar emitter = Entities.addEntity({\r\n\ttype: \"ParticleEffect\",\r\n\temitDirection: {x: 0, y: -1, z: 0},\r\n\tdirectionSpread: {x: 1, y: 0, z: 1},\r\n\tlocalGravity: -1,\r\n});\r\n```\r\n\r\nwill create a snow flurry, as snow particles drift down with randomized offset x and y directions from 0.\r\n![](http://g.recordit.co/wOtKcm45kU.gif)"},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/129643608","html_url":"https://github.com/highfidelity/hifi/pull/5548#issuecomment-129643608","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/5548","id":129643608,"user":{"login":"hifi-gustavo","id":4554450,"avatar_url":"https://avatars.githubusercontent.com/u/4554450?v=3","gravatar_id":"","url":"https://api.github.com/users/hifi-gustavo","html_url":"https://github.com/hifi-gustavo","followers_url":"https://api.github.com/users/hifi-gustavo/followers","following_url":"https://api.github.com/users/hifi-gustavo/following{/other_user}","gists_url":"https://api.github.com/users/hifi-gustavo/gists{/gist_id}","starred_url":"https://api.github.com/users/hifi-gustavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hifi-gustavo/subscriptions","organizations_url":"https://api.github.com/users/hifi-gustavo/orgs","repos_url":"https://api.github.com/users/hifi-gustavo/repos","events_url":"https://api.github.com/users/hifi-gustavo/events{/privacy}","received_events_url":"https://api.github.com/users/hifi-gustavo/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T23:12:04Z","updated_at":"2015-08-10T23:12:04Z","body":"Build console output for commit: 7ed408bf9738744e8520bc7f2880a89b82760ec1 available at: https://gist.github.com/b9825833e4fa271c8d48<br/><br/>Installers available for download at: <br/>Windows: http://s3.amazonaws.com/hifi-public/pr-builds/dev-interface-5548.exe<br/>OS X: http://s3.amazonaws.com/hifi-public/pr-builds/dev-interface-5548.dmg"}}