I was researching bulge effect and I referenced this link below: https://math.stackexchange.com/questions/266250/explanation-of-this-image-warping-bulge-filter-algorithm the