As far as the screen display goes I’ve got this far.
Using the layers library create a bitmap from the cam. layer the grid over the top and layer all movement over the top of that.
Might not be the smoothest method but i’ll see if it works before trying anything else.
Programming Interactivity by Joshua Noble is a great book.