【Processing】atan2()を使ってみる

 

 

 

atan2()を使ってみる。

原点からのマウスの位置の角度を求めてくれるらしい。

次はatan()も使ってみよう。