sin,cosは-1〜1の値を返してくれる関数なので、
波のような動きを作るときに便利です。
今回は光線のまわりにまとわりつく演出として使いました。
渡す角度の値を大きくすることで波の間隔を狭くすることができますよ。
ぜひ自分で調整して試してみて下さい。
Since the sine(sin) and cosine(cos) functions return values between -1 and 1, they are useful for creating wave-like motion.
In this case, they are used to create an effect that wraps around a beam of light.
By increasing the angle value passed to the functions, you can make the waves closer together.
Please try adjusting the values yourself and see how the motion changes.
次回

