Hello
I use a square plane mesh, then screen copy. It is also possible to generate the the bitmap withing Grasshopper.
And if you want tileable use a torus for XYZ then use UV coordinate to have to texture on a plane. There are some explanation on the forum.
See thes links