I tried the regular mask by using the same process. It turns out the regular mask will bring more artefacts than the spiral mask. In visualization, the same function will have similar effects. The differences are in different patterns introduced by different masks.
I also tried the floating points to store the values. Right now it gives more control for each step, but I cannot say what the other advantages are.
Right now it seems the limit of the size of the mask has a great effect on ruining tone.
The size of the mask has some influence in visual effects.
Performance: 512 by 512 takes 113 seconds.
I am going to put the tone down and try to find some interesting patterns from our method. Right now how to control patterns seems a mystry.