Kenneth Lim
Kenneth Lim
I'm thinking instead of referencing `imageData` directly [here](https://github.com/processing/p5.js/blob/main/src/core/p5.Renderer2D.js#L395) we can just somehow retrieve the `pixels` variable via something like `this.pixels` and just create a new `imageData` object to pass in....
@amanMahendroo This is a bit of an advanced problem but if you are interested, you can look at how `loadPixels()`, `pixels`, and `updatePixels()` are implemented to see how we can...
@DivyamAhuja I don't quite understand why a check if `pixels` and `imageData.data` is the same would be necessary. I imagine whatever the case may be, `pixels` is the source of...
@DivyamAhuja If possible can do you a simple benchmark of whether creating a new `ImageData` object when calling `updatePixels()` vs checking if `pixels` and `imageData.data` is the same, has significant...
@DivyamAhuja I think you can go ahead with an implementation you think is most appropriate. We'll work out the final details in the PR. It's easier for me to test...
Hi @apc518, I do see versioning info on some JS libraries and frameworks but in the case of p5.js I'm trying to think of a use case for it. For...
In this case, would having access to versioned API documentation be better (as in documentation for 1.3.0, 1.4.0, 1.4.1 etc)? Since you would need to know your issue stem from...
Yes it would be more or less the same functionally but much much easier to implement. Though that being said it would probably still take some development time to do.
The preload counter is not decremented in the case of an error. It can perhaps be made so that if the error callback is provided the sketch continue to run....
Breaking change is more about managing expectations, specifically expectation that the same semantic code that is written for one version works in the same way in another version. Though that...