<aside> 📌
Relocated to kynd.info/writing kynd.info/writing に引っ越しました
</aside>
https://codepen.io/kynd/pen/XWqzYvK?editors=0010
This is probably the most common shape when drawing a wave. This is called a sine curve and is a graphical representation of the sine function. Since the input values are moved over time $t$, the equation looks like this:
波を描くときに一番普通なのはこんな形でしょう。これはサインカーブと呼ばれていてサイン関数をグラフにしたものです。 入力の値を時間$t$と共に動かしているので式の形はこうなります。
$y = a\cdot sin (bt - cx)$
const y = a * sin(b * t - c * x);
Waves that oscillate perpendicular to the direction of advance are called transverse waves.
進行方向に対して垂直の向きに振動する波は横波と呼ばれます。
Waves that travel in the direction of their oscillations are called Longitudinal waves.
振動と同じ向きに進む波は縦波と呼びます。
https://codepen.io/kynd/pen/abGVKep
You may have heard that earthquakes can be divided into longitudinal and transverse waves. For seismic waves, longitudinal waves are also called P(primary) waves and transverse waves are called S(secondary) waves. Longitudinal waves can travel through any material, including liquids and gases, by means of compression, while transverse waves can only travel through solids because the material must be connected in order for the force in the bending or shear direction to be transmitted. Sound is an example of longitudinal wave.