forked from: 垂直方向に往復する正方形 課題１

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