This is an old revision of the document!


p5js: manipulating photos

The documentation for loading images is here: https://p5js.org/reference/#/p5/loadImage

The basics for describing what p5js can do with images is described here: https://p5js.org/reference/#/p5.Image

Browser security may prevent you from using photos on the web, so you may need to upload your own.

You have to click here to upload a photo.

The loadImage function lets us get the image into p5js, and the image function lets us display it. It's like this:

  • p5js-photos.1708592396.txt.gz
  • Last modified: 14 months ago
  • by renick