ChatGPT can explain a JavaScript code in plain English. It understood the code was computing the pixel differences between a previous and next frame. Really good to start blog posts from code snippets! This function is used in to detect mouse positions in a video