101 ways to build a Sierpinski Triangle

Cliff Reiter · ACM SIGAPL APL Quote Quad · 1997

A T APL971 RAN A WORKSHOP on creating images withJ.The first exercise involved creating a Sierpinski Triangle.Ken ~ Iverson commented that I seem to start everything I do with the Sierpinski Triangle as an example.I don't think that is true, but it does seem like a good idea.Thus, my first Quote Quad column on usingJ focuses on ways to create Sierpinski Triangles.Of course, this is really an excuse to discuss a bunch of J in a way that results in some interesting images.Many of these ideas may be familiar, but readers are encouraged to look for new points of view.You might note the usefulness of inverse functions, gerunds and extended integers and may even discover new uses of base-Cliff Reiter's APL97 workshop three representations.Did you know you don't have to "build" Sierpinski's Triangle?You can decide the value of each pixel from the pixel coordinates.Cliff Reiter and Nathan Carter at the APL97 "Chaos with Symmetry" exhibit Future columns planned include dot-by-dot creation of one of the fi'actal types from the APL97 exhibit "Chaos with Symmetry" [1] and another takes a look at creating "music" with J.While I often create fractals in my work with J, my goal for the "With]" column is the illustration of J usage with fun examples from a variety of topics.

Read the paper · More papers on PaperTik