Tuesday, June 17, 2014

Newton’s rap battle limerick

Epic Rap Battles of History released a new classic yesterday, in which Newton battles Bill Nye.  The only way to improve on this would be if Weird Al played Newton – oh yeah, he did.  “To rebut,” Newton provides an equation he supposedly wrote, which is actually a silly calculus limerick:


The integral sec y dy

From zero to one-sixth of pi

Is log to base e

Of the square root of three

To the 64th power of …

Luckily Neil deGrasse Tyson appears to finish the calculus limerick: “i"

Sunday, May 18, 2014

Cutting angles accurately

Building a playhouse for my kids, I had occasion to cut a forty degree angle in a piece of wibbly wobbly plastic.  You know, the corrugated kind you put on greenhouses.  I could have gotten out a protractor, marked 40º and extended it with a straightedge, but I suspect it could be off by a degree or two by the time the line extended to where I needed it to go.  Instead, I measured one side of the triangle I would be removing from the sheet, did a little triggety-trig and came up with another side, which I could mark to the nearest 1/8-inch,  which represents an accuracy of less than half a degree.  Because playhouses need to be precise.

Wednesday, April 16, 2014

Enter the dragon

After all the fun I had making fractal snowflakes, I wanted to try out some different ideas with the “Transform Effect” in Illustrator.  Here I typed the word “Dragon,” and applied an effect that made three copies, rotated in multiples of 42º (I went for an arbitrary angle other than 60), and scaled up and shifted a little each time.
dragon fractal (1)
Applying the same effect again makes a kind of spiral, as you might imagine.

dragon fractal (2)dragon fractal (3)
But because the rotations are done with respect to the bottom-left corner (rather than the center of the spiral), a strange pattern begins to emerge: 
dragon fractal (4)
dragon fractal (5)
Here I tried it again, with a transformation that makes one copy rotated 80º about the lower left corner, and shifted right.
dragon fractal (6)
We might expect to see four “dragon”s when the transformation is applied again, but one of them falls perfectly on the first copy so we see only three.
dragon fractal (7)dragon fractal (8)
After the third iteration, the dragons have curled around enough to be farther left than the original, which moves the point of rotation.  Soon the fractal magic begins to occur.
dragon fractal (9)dragon fractal (10)
dragon fractal (11)dragon fractal (12)
dragon fractal (13)dragon fractal (14)
dragon fractal (15)dragon fractal (16)
dragon fractal (17)

Sunday, April 6, 2014

Frozen fractals all around

Watching the movie Frozen with my kids the other day, I was happy to hear the term “frozen fractals” in the acclaimed song, “Let It Go.”  It made me look closer at the snowflakes and ice shapes depicted in the movie – but I didn’t notice much in the way of fractal structure there. 

The archetypical snowflake images tend to exhibit “branches on branches,” indicating fractal self-similarity, though the six-fold symmetry appears to be the defining characteristic of iconic snowflake shapes. 


I wondered about making my own fractal snowflakes using a simple iterative process…but I wanted something different than the Koch snowflake.
Starting with a random shape, I repeated the following process (in Adobe Illustrator, which made it easy):

Create 5 more copies, rotated in multiples of 60º about the lower left corner of the bounding box.

Here are the first four iterations:
07-round2 08-round309-round4 10-round5
After that my computer was slowing down, but you get the idea.  I tried the same idea again, but this time the copies were rotated about one vertex so they overlapped and ended up making a cool tile pattern:

12-pointy1 13-pointy214-pointy3 15-pointy4

Wednesday, March 26, 2014

Happy birthday, Paul Erdős!

Here’s a caricature I made of “the man who loved only numbers” for his 101st birthday. 
Paul Erdos caricature

Wednesday, March 12, 2014

Pi Day Challenge

Here’s a fun site for your lateral thinking students (who also know some geometry).  In their words,

A team of logicians adapted or created these puzzles - some require research, some require mathematics, some require pure savvy.

Pi Day Challenge

pi day challenge

A lot of the problems don’t have anything to do with pi, and some of the presentation is a little janky, but it’s still fun.