Mathworld Problem of the Week (free book!)

This week’s subject is Malfatti Cirlces:

http://mathworld.wolfram.com/MalfattiCircles.html

They look something like this:

Basically, tangent circles, but each circle is also tangent to two sides of the given triangle.

The challenge would be to take the file below:

http://www.bit-101.com/blog/wp-content/uploads/2008/05/malfatti_circles.fla

and fill in the drawMalfattiCircles() method with some code that will actually draw correct Malfatti Circles. Feel free to create additional helper functions as needed. The function will be called once in the beginning and then whenever any of the triangle points are drawn.

Again, the prize is a copy of Foundation ActionScript 3.0 Animation: Making Things Move! to the first person who sends in a correct solution (or convincing enough to make me believe it is correct).

This entry was posted in Flash. Bookmark the permalink.

4 Responses to Mathworld Problem of the Week (free book!)

  1. Thomas says:

    Mail sent. Let’s see if there was someone faster. 🙂

  2. Thomas says:

    Good I skipped the Code-Cleanup. 😀

  3. Oh yeah – and I should have posted my stuff first and then convert everything into a separate class…

Leave a Reply