Yes, that’s right. A grid. It’s a little more tricky to get the rotation right when you’re painting on the side of the mesh and the mesh is rotated
See the above snippets.
One of them looks horrendous, but it’s not, it’s just a lot of repeating code…