p5.js_tips/ 多角形備忘録
👻 p5.jsで多角形を書くコードが溜まってきたので、忘れないようにまとめておきますー。使ってどうぞー。 angleMode(DEGREES)でやってます。depth (くびれの深さ)の値は0.0~1.0の間で、0に近いほど浅く、1に近いほど深く激しいイメージです。 基本の […]
👻 p5.jsで多角形を書くコードが溜まってきたので、忘れないようにまとめておきますー。使ってどうぞー。 angleMode(DEGREES)でやってます。depth (くびれの深さ)の値は0.0~1.0の間で、0に近いほど浅く、1に近いほど深く激しいイメージです。 基本の […]
これはProcessing Advent Calender2025の記事です🎉 今年で参加6回目! 今回は本体はwebサイトとなります→ https://senbaku.github.io/ProcessingAdventCalender2025/ こちらでは解説をしていき […]
これはProcessing Advent Calender2024の記事です🎉 今年で参加5回目! This article is part of the Advent Calendar focused on Processing in Japan. The Decembe […]
Set a timer for the mouse cursor so that it disappears after a while if you do not operate it, and reappears when you move the mouse. マウスカーソル、完全に […]
To make the canvas size variable according to the window size. and to set the ratio. Hello. I am Senbaku. (This memo is a reminder about canvas s […]
こんにちは。センバクです。 2019年の終わりごろから、プログラミング言語で絵を描く、”クリエイティブコーディング”、または ”ジェネラティブアート” と呼ばれる活動をしています。 — 昨年CCBTにて未来提案型キャンプに参加した御縁で、2/2(金)~2/18(日)まで、恵比寿 […]
プロジェクションマッピング『Pop Up! YohaS』 12/16(土)、17(日) @the RECORDS壁面(千葉公園隣接) NEORTで公募された作品が映し出されました。 テーマ:「クリスマスの景色」 公募ページ(NEORT):https://neort.io/challenge […]
fxhashで”wind”をリリースした際の、今回の学びを記録しておきます。
I would like to record what I learned this time when I released “wind” in fxhash.
Math.abs()を使って、水晶の結晶のような図形を書きます。
Use Math.abs() to draw a shape that looks like a crystal.
I tried using Mixbox, a color-mixing library that allows natural color mixing like paint. in P5.js
P5.jsで、混色ライブラリの、Mixboxを使ってみました。