Multiply the R and G channels separately by 2 different parameters before going into the texture coordinate input.