Re:How DOOM fire was done
by wohoo on Saturday December 29, 2018 @07:45AM
(#18783346)
Interesting articles, infortunatly it has many typos:
framebuffer is initiated full yellow, not black;
pixel in code should be firePixel[src];
randomness should be applied symmetrically with rand+1 in [-1;1].
[ Parent
| on HN ]
I love these kinds of articles but I also think there is a slight mistake. In my opinion it should say "upper-left is at array index zero" instead of "lower-left is at array index zero".
I don't think it matters if the randomness is not applied symmetrically and the fire moves slightly to the left. I also can't comprehend the part about the framebuffer being initiated yellow and not black.