Kenneth Lim

Results 347 comments of Kenneth Lim

@BenMaydan I'm not able to replicate this locally, can this be a web editor bug?

This issue only happens in the web editor, please file this bug over [here](https://github.com/processing/p5.js-web-editor/issues) instead. Thanks.

As @davepagurek alluded to as well, If this feature is to be added as proposed in the PR, the signature of `loadImage(path, successCallback, failureCallback, width, height)` is not ideal for...

I'm not sure if there will be an easy way to make canvas with fractional dimensions work without some kind of undefined behaviour as it is not expected that fractional...

Could you `floor()` the values passed to `createGraphics()` so that they will always be integers?

I'm happy to go with @davepagurek suggestion and floor the internal canvas dimension. We'll need to take care to not cause inconsistency where elsewhere in the codebase there is still...

I might not be understanding this fully but I don't quite understand the `pixelDensity` parameter passed to `resizeCanvas` here, specifically why do we need it instead of using the `pixelDensity()`...

It is hard to speculate about what the standards will do, eg. I've also heard WebGPU will supercede WebGL entirely but obviously it isn't really ready for prime time yet....

You might have seen this before but I moved the old benchmarking code out into its own repo [here](https://github.com/limzykenneth/p5-benchmark) with a [website](https://limzykenneth.github.io/p5-benchmark/) available to compare different versions and implementations. The...

The benchmarking is still a bit manual (new versions need to be added manually and testing custom build requires editing configs) but if you to get started with it, you...