Pascal's Triangle





Screenshots


DOWNLOAD

(win32+ only)

This program uses a mathematical algorithm known as "Pascal's Triangle." It looks like this:

1
/\
1 1
/\/\
1 2 1
/\/\/\
1 3 3 1
/\/\/\/\
1 4 6 4 1
/\/\/ \/\/\
1 5 10 10 5 1
/\/\/ \/ \/\/\
1 6 15 20 15 6 1
/\/\/ \ /\ / \/\/\
1 7 21 35 35 21 7 1
...

You can figure it out ;) . Anyway, to make a graphic from this sequence:
  1. Pick an integer X.
  2. Systematically look at each number in your triangle.
  3. For each number: is the number wholly divisible by X?
    1. Yes: Leave the pixel representing this number blank.
    2. No: Color the pixel representing this number.
  4. Rinse.
  5. Repeat as desired.


Current Version: 1.0



-Current Features:


-Known Bugs: (to submit a bug, thealliedhacker@yahoo.com subject:"PasTri Bugs")


-ToDo: