forked from: 水平方向に往復する正方形

左右に往復運動する正方形．
@author shmdmoto