Is there a way to stretch or squeeze a world aligned texture?

Is there a way to stretch or sqeeze a world aligned texture like in the attached scribble?

Closing this thread in favor of duplicate.