|

Sketching with Math and Quasi Physics

This is a collection of physics- and math-related sketches and snippets intended as references for creating code-based artworks and animations. Rather than trying to understand the world perfectly or solve real-world problems, the goal here is to sketch things that feel interesting—even if they’re not perfectly accurate—hence “quasi physics.”

コードを使った作品やアニメーション制作の参考用に物理や数学関連サンプルなどをまとめたもの。世の中を正しく理解したり、問題を解決したりすることが目的ではなく、正確さにはあまり構わず面白そうなものをスケッチすることが目的なので、「quasi=擬似」物理学と呼んでいます。

アイデアの種的なものが多いので解説は雑ですが、詳しい解説や参考サイトの翻訳などはリクエストがあればどうぞ。

Most of the contents are from Sketching with Math and Quasi Physics (2019), and the other workshop materials or self-educational notes. The majority of them were originally in English, but some were in Japanese first. The translations were done with the help of AI in both directions.

ほとんどの内容やSketching with Math and Quasi Physics(2019)や、ワークショップのための資料、自分の勉強のためのノートなどをもとにしています。主に英語がオリジナルですが、日本語が先のものもあります。翻訳はどちら向きにもAIの手助けを借りました。

I used p5.js for most of the code samples, unless otherwise noted. However, I tried to write them in a way that can be applied to any environment as much as possible. Most of the examples are quite old, so the quality is not guaranteed .

コードのサンプルは特に断りがない場合はp5.jsを用いていますが、できるだけどんな環境でも応用できるように書きました。古いサンプルも多く、クオリティの保証はしません。

I am not a mathematician or computer engineer. This is simply a compilation of ideas that I have found useful from the perspective of a visually oriented person. If you notice any mistakes, have better examples, or know of links that would aid in learning, please share them with me. In this context, I am less interested in show-off demos, so please refrain from providing tweet-length shaders or similar content.

私は数学者でもコンピュータエンジニアでもありません。これはあくまで、ビジュアル畑の人間から見て便利だと思ったアイデアをまとめたものです。間違いの指摘や、学習に役だつもっと良い例やリンクなどあれば、ぜひ送ってください。