One of the most fun parts of sketching with code is that it’s not static. Let’s draw both in space and time.

コードでスケッチするのが楽しい最大の理由の1つは、静止した表現に留まらないことです。空間と時間の両方を使って描いていきましょう。

<aside> 💡

This is an article to introduce various topics in Sketching with Code, illustrating the relationships between them and adding more context to provide a sort of overview. The articles are not in order of difficulty. Please just jump to whichever one interests you.

これは Sketching with Math and Quasi Physics 上の様々なトピックについて、それぞれの間の関係や概要を示したり、新たな文脈を加えたりするためのページです。難易度順には並んでいないので、興味のある記事から自由に読んでみてください。

</aside>

Newtonian Mechanics

ニュートン力学

How do you move a thing? Just push it. 物はどうすれば動くでしょうか。答えは、ただ押してみることです。

Sir Isaac Newton basically said that things stay at rest in the same position, or keep moving at the same velocity until you apply force to accelerate them. Position, velocity, acceleration, and force are the most fundamental concepts to understand physical motion. Emulating these concepts is extremely simple: frame by frame, just add force to acceleration to change it, then acceleration to velocity, then velocity to position.

アイザック・ニュートン卿は、物体についてこう述べました。力を加えて加速させない限り、物体は静止したままか、同じ速度で動き続けます。位置、速度、加速度、そして力は、物理的な運動を理解する上で最も基本的な概念です。これらの概念をエミュレートするのは驚くほど簡単です。フレームごとに、力を加速度に加えて変化させ、その加速度を速度に、そして速度を位置に加えていくだけです。

Newtonian mechanics ニュートン力学

https://codepen.io/kynd/pen/vbGNjx

https://codepen.io/kynd/pen/zeqvaO

https://codepen.io/kynd/pen/YzLJOgp?editors=1010

Differentiation and Integration

微分と積分