Pascal's Triangle

I've been brushing up on calculus with Gilbert Strang's excellent book, and when I got to a part about binomial expansion I decided to do some sort of visualization of Pascal's Triangle. I didn't have much success visualizing the whole thing, so I threw together an applet in Processing that lets you see a subset of the triangle at a time.

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Here's how it works: in the text field at the bottom you enter a number. All entries in Pascal's Triangle divisible by the number you entered will be shown, provided they are in the part of Pascal's Triangle that's shown in the applet. The powers of 2 are the most interesting; I like 64. Have fun!

Leave a comment

About this Entry

This page contains a single entry by mason published on June 15, 2008 11:09 PM.

AI in the UI: making search boxes learn when you're done typing was the previous entry in this blog.

typography exercise is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

My photos

www.flickr.com
masonsimon's items Go to masonsimon's photostream