Python examples for eventual book. Some images created with these examples are at square-the-circle.com.