Jason Underdown’s Blog

Math, Physics and Free Software

New and Improved Sierpinski Triangle C++ Code

with one comment

I modified my Sierpinski triangle code so that it now allows you to adjust the contraction mapping constant. Normally one uses a contraction mapping constant of 1/2 but if you invert that and instead use an expansion mapping constant of 2, then you get the following pretty picture.
Sierpinski Triangle Under Expansion Map

Written by Jason Underdown

October 3, 2007 at 6:55 pm

One Response

Subscribe to comments with RSS.

  1. Amazing, REALL nice stuff,

    mozey

    October 3, 2007 at 7:26 pm


Leave a Reply