w to increase resolution s to decrese resolution
I just tweaked a bit the original formula. Original by Zro716