This was on sage-edu, and I thought lots of people here would be interested in a cool way to use PIL to do a Christmas tree-like figure.
Jason Georg Muntingh wrote: > I love the idea! I took it one step further and quickly hacked > together a Sage worksheet -- although it is basically just Python -- > that replaces each triangle with a picture: > > * Example: http://folk.uio.no/georgmu/ChristmasCard.png > * HTML: http://folk.uio.no/georgmu/SierpinskiChristmasCard.html > * Sage Worksheet: http://folk.uio.no/georgmu/SierpinskiChristmasCard.sws > > This is awesome! And another piece of evidence for including the PIL library as standard. By the way, I believe you can install PIL directly into Sage fairly easily. Wow, thanks for sending these! I'm forwarding this to sage-devel and sage-support since I think lots of people there will be interested in this code, but not see it on sage-edu. Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---