If I'm understanding you right you're wanting to calculate how many points, from the given point array, change after X milliseconds? If so use this I made for an anti-random:
Simba Code:
function getPixelShiftTPA(T: Integer; TPA: TPointArray): Integer;
Var
BMP,BMP2: Integer;
begin
BMP := BitmapFromClient(MSx1,MSy1,MSx2,MSy2);
Wait(T);
BMP2 := BitmapFromClient(MSx1,MSy1,MSx2,MSy2);
Result := CalculatePixelShiftTPA(BMP, BMP2, TPA);
FreeBitmap(BMP);
FreeBitmap(BMP2);
end;
The parameters speak for themselves, T = time between checking the TPA, and TPA is the TPA (only the TPA) that will be checked for pixelshift.
An example would be
Simba Code:
if (getPixelShiftTPA(500, FishingSpotTPA) > 50) then
Writeln('This TPA shifted 50 pixels in 500ms, it must be a spot!');