{"id":82,"date":"2013-11-12T18:20:07","date_gmt":"2013-11-12T18:20:07","guid":{"rendered":"http:\/\/ratneshneema.com\/portfolio\/?p=82"},"modified":"2013-02-22T14:55:02","modified_gmt":"2013-02-22T14:55:02","slug":"starfield","status":"publish","type":"post","link":"https:\/\/ratneshneema.com\/portfolio\/experiments\/starfield","title":{"rendered":"Starfield"},"content":{"rendered":"<p>An experiment with Three.JS using its inbuilt ParticleSystem to create a &#8220;Starfield&#8221; effect. Starfields were a standard effect in most 90s space games, made even more popular by the &#8220;Flying Windows&#8221; screensaver. <\/p>\n<p>This experiment goes a little deeper into the various Shaders and Postprocessing scripts that come along with Three.JS, it&#8217;s particle system, and related samples.<br \/>\n<!--more--><br \/>\nAs is common in my experiments, the effect can be tweaked using various parameters exposed via the on-screen controls. <\/p>\n<p>The tiny bit of animation involves moving the particles towards the Camera, and resetting them to a distant location when they fly past, creating an indefinite loop. One thing that would be cool is if I could figure out how to implement &#8220;afterimages&#8221; or &#8220;trails&#8221;.<\/p>\n<p><a href=\"\/experiments\/starfield\/\" title=\"Audiosphere\">Check out the experiment here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An experiment with Three.JS using its inbuilt ParticleSystem to create a &#8220;Starfield&#8221; effect. Starfields were a standard effect in most 90s space games, made even more popular by the &#8220;Flying Windows&#8221; screensaver. <\/p>\n<p>This experiment goes a little deeper into the various Shaders and Postprocessing scripts that come along with Three.JS, it&#8217;s particle system, and related samples.<\/p>\n","protected":false},"author":1,"featured_media":185,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/posts\/82"}],"collection":[{"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":4,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":184,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/posts\/82\/revisions\/184"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/media\/185"}],"wp:attachment":[{"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ratneshneema.com\/portfolio\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}