Cheap GPU optical flow: frame difference against the previous output divided by the spatial gradient. Where flow clears the threshold, the last output is warped along it with an RGB split; elsewhere the fresh frame shows. Threshold and split drift on noise, as in the original sketches.
Port of alexr4/datamoshing-GLSL (Processing).
Дешёвый GPU optical flow: разница кадра с предыдущим выходом, делённая на пространственный градиент. Где поток выше порога, прошлый выход сдвигается по нему с RGB-split; иначе виден свежий кадр. Порог и split плывут на шуме, как в оригинальных скетчах.
Порт alexr4/datamoshing-GLSL (Processing).