Move the dots around and then press space to see Sierpinski's triangle - it will always work no matter where the dots are. Press 'c' at any time to clear. It uses stamping - which is technically a pen tool, so it is technically pen! You can move the dots after pressing space, and then press 'c' to clear. (P.S. Drag the dots.) Sorry that it lags.
A friend from school showed me - I sort of forgot it and then remembered it. I didn't know the name until @PullJosh had made a project about it. Don't worry - I didn't copy off him! You may use it, but please give credit.