This algorithm is based on Pascal's Triangle mod 2. I used a lot of algebra to simplify the code, so it's kind of hard to recognize. Make sure to use turbo mode!
DISCLAIMER: This is not Triforce. I don't know why someone has to say this every time someone brings up the Sierpinski Triangle.