processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.62k stars 3.31k forks source link

image blend not working on some version of webkit #5874

Open JordanQui opened 1 year ago

JordanQui commented 1 year ago

Most appropriate sub-area of p5.js?

p5.js version

v1.4.2

Web browser and version

safari, chrome

Operating System

iOS, macOS

Steps to reproduce this

Steps:

  1. put on image under an image.blend
  2. watch the result the blended image doesn't appear

Snippet:

image(image1, 0, 0) image2.blend(image1, 0, 0)

welcome[bot] commented 1 year ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

JordanQui commented 1 year ago

Seems to happen only when the second parameters is: blend(image, image.width, ...

limzykenneth commented 1 year ago

@JordanQui Can you provide a more complete snippet so that we can replicate the issue on our end? A link to a p5 editor sketch would be really helpful as well.

I'm not seeing any problems on the reference example so I can't tell what the problem you are having is. A detailed description of the expected behaviour vs actual behaviour will be really helpful as well.

thecodermaniac commented 1 year ago

if the issue isn't resolved i wanted to work on it