Scripts to generate simulations and plots used in blog posts on genetic and genealogical ancestry gcbias.org/category/genetic-genealogy/ . These scripts were written over a couple of afternoons and are by no means optimal ways of constructing these quantities. Hopefully they will be of use.