blendMode(DARKEST);
background(0, 10);
blendMode(BLEND);
You can see on this page that the trails drawn by the pendulums don't fully fade away:
https://www.chrisvenczel.com/butterflyeffect

In the above image the grey ghost trails used to fully disappear.
I did not change any code so I believe this is a bug. Any help would be greatly appreciated!
Welcome! 馃憢 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
@chrisvenczel The trails on the page you shared do seem to fade away completely for me. Can you perhaps try another browser or see if you can get another computer to try it on (or someone else to try it for you).

@limzykenneth The trails doesn't seem to fade away for me. I tried it on Firefox, Edge and Chrome. Same for all of them. But if I resize the window they fade away, like clearing some buffer.
@DivyamAhuja Are you on Windows as well?
@DivyamAhuja Are you on Windows as well?
Yeah, I will go try it on ubuntu.
Possibly related to #4403?

Weirdly on Ubuntu it's working fine on Firefox but not on Google Chrome.
Versions are-
Ubuntu 20.04 LTS
Google Chrome Version 83.0.4103.97 (Official Build) (64-bit)
Mozilla Firefox 77.0.1 (64-bit)
Possibly related to #4403?
Might be related.
Am not much familiar with blend stuff but am trying to learn WebGL and blend
Just tried on Chrome and Safari on a mac, they are showing this bug. I'll have a closer look.
@limzykenneth The trails doesn't seem to fade away for me. I tried it on Firefox, Edge and Chrome. Same for all of them. But if I resize the window they fade away, like clearing some buffer.
When you resize the window I clear the screen so that the size of the render can update (probably not the best way to do it), so that's why that is happening. I don't think it has to do with the bug.
Thanks for looking into this!
I've created a minimal sketch demonstrating the issue: https://editor.p5js.org/limzykenneth/sketches/wIGbTnfy7
What I found is that if the blendMode() is commented out on Firefox, it displays the same behaviour as on Chrome without blendMode() commented out (although behaviour is the same if commented out). I don't see any immediate source of problem in the library itself but I haven't tried a pure HTML5 canvas implementetation yet. My current suspicion is that Chrome (and webkit derived browsers) and Firefox handles alpha blending differently but how so I'm not sure.
Managed to recreate it using only HTML Canvas API: https://editor.p5js.org/limzykenneth/sketches/evtZgvMUo
As such I'm relatively sure it is not an issue with p5.js itself but difference between browsers, I've found no reference to it anywhere though. Anyone have a contact at Chromium or Firefox?
Most helpful comment
I've created a minimal sketch demonstrating the issue: https://editor.p5js.org/limzykenneth/sketches/wIGbTnfy7
What I found is that if the
blendMode()is commented out on Firefox, it displays the same behaviour as on Chrome withoutblendMode()commented out (although behaviour is the same if commented out). I don't see any immediate source of problem in the library itself but I haven't tried a pure HTML5 canvas implementetation yet. My current suspicion is that Chrome (and webkit derived browsers) and Firefox handles alpha blending differently but how so I'm not sure.