p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Alpha mask example is using different images than referenced in the code

Open davepagurek opened this issue 1 year ago • 3 comments

Not sure if these are in the repo or not, but on this example https://p5js.org/examples/imported-media-alpha-mask/ the code references some unsplash images that are consistent with its thumbnail: image

However, the actual code generates this result: image

davepagurek avatar Jul 05 '24 14:07 davepagurek

Thanks @davepagurek. I'm tagging @nickmcintyre to take a look at this.

Qianqianye avatar Jul 05 '24 22:07 Qianqianye

@calebfoss what do you think about the following tweaks?

  • Update image links and attribution
  • Link to the VS Code section the Setting Up Your Environment tutorial instead of the GitHub wiki
  • "Using the mask() function..."

nickmcintyre avatar Jul 07 '24 23:07 nickmcintyre

The correct mask.png file is here in the example project repo. All the old examples were copied into the new website repo and then the files from our example project repo were copied. In this case, the old asset is being used with the code from our example project. I would recommend checking all of the examples for issues resulting from that process.

calebfoss avatar Jul 08 '24 15:07 calebfoss