Canvas

Canvas not supported

直線にヒットしたかを判定する javascript サンプルプログラム

判定方法は下記URLの計算式を参考にしました。

http://www.iot-kyoto.com/satoh/2016/01/16/hittest-001/