domain colouring of cube, passing in function as parameter
html5 canvas inside svg