How can we easily generate gradients?