how do painters compute square video?