Programming challenge: Write a quick program that will draw a Sierpinski triangle using a recursive or iterative process. This is my attempt. Each line is described by an array of booleans. The next line is generated by taking the XOR of consecutive elements in the array. http://pastebin.com/MvwHcgm7
Used a bit shift and XOR to create the lines. http://pastebin.com/J84hmZ45
>>440 That's awesome.
>>449 I've got a symmetrical version here: http://pastebin.com/XA1KHYbE
here's one that lets the PRNG do most of the work http://pastebin.com/kc7pDF4M
can i just hire an Indian to do this for me?