Many thanks for the article and the fun code. I tried a squircle - H(x,y) = (x^4 + y^4 - 1) - and if I avoid going too close to the round corners, I can get some quite interesting patterns.