processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
13 stars 70 forks source link

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

Open davepagurek opened 2 months ago

davepagurek commented 2 months ago

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

Qianqianye commented 2 months ago

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

nickmcintyre commented 2 months ago

@calebfoss what do you think about the following tweaks?

calebfoss commented 2 months ago

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.