{"id":1550,"date":"2018-01-10T20:29:13","date_gmt":"2018-01-11T02:29:13","guid":{"rendered":"http:\/\/www.philhassey.com\/blog\/?p=1550"},"modified":"2018-01-10T20:29:13","modified_gmt":"2018-01-11T02:29:13","slug":"time-rewinding-fire-effect","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2018\/01\/10\/time-rewinding-fire-effect\/","title":{"rendered":"Time rewinding fire effect"},"content":{"rendered":"<p>Part of the trick of time rewinding is to have as little state as possible.\u00a0 This fire effect is generated from just this:<\/p>\n<div>\n<div>fire_draw(GAME.t,0,100,100,12,234)<\/div>\n<\/div>\n<div><\/div>\n<div><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2018\/01\/Jan-10-2018-19-25-45.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1551\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2018\/01\/Jan-10-2018-19-25-45.gif\" alt=\"\" width=\"480\" height=\"320\" \/><\/a><\/div>\n<div><\/div>\n<div>To get this to work, I&#8217;ve pre-calculated how the flames will move.\u00a0 Since the state is so small, fast-forward and rewind only depends on changing the GAME.t .<\/div>\n<div><\/div>\n<div>-Phil<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Part of the trick of time rewinding is to have as little state as possible.\u00a0 This fire effect is generated from just this: fire_draw(GAME.t,0,100,100,12,234) To get this to work, I&#8217;ve pre-calculated how the flames will move.\u00a0 Since the state is so small, fast-forward and rewind only depends on changing the GAME.t . -Phil<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128,129],"tags":[],"class_list":["post-1550","post","type-post","status-publish","format-standard","hentry","category-featured","category-proto"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=1550"}],"version-history":[{"count":1,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1550\/revisions"}],"predecessor-version":[{"id":1552,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/1550\/revisions\/1552"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=1550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=1550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=1550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}