実例 画像データのコピー

画像データのコピー

copy() メソッドを使用すると、カーソルがドラッグされる場所に、白黒画像の上にカラー画像をコピーすることで、画像に色を塗ることをシミュレートできます。

Creative Commons BY-NC-SA license badge

画像データのコピー: Revised by Kasey Lichtlyter. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!


関連する実例