transform pixels to artoolkit marker

Hi everyone,

I’m using artoolkit and i used dataptr, marker_info to get the coordinates of the marker pixels, then i used gl_POINTS to change the color of these pixels.

So now it is like an array of pixels with specific colors that should be updated on frame rate (every 2 seconds) and this is working fine,

But my problem is how to draw and align these color values to the marker while there is no update?
or in other words,how can i transform or relate those pixel positions to the marker, so it can be aligned while the marker is moving?

plz help, thanks