Javascript code translated from https://alb.host.cs.st-andrews.ac.uk/cole/code.html
X radices Y radices
at the following scale (colour first points)