There's also https://news.ycombinator.com/item?id=49648775 which points to https://shan.mp/decorrelation_stretch/