forked from: 赤から緑へのグラデーション_3

lineを使った赤から緑へのグラデーション
@author shmdmoto