Kenneth Lim

Results 443 comments of Kenneth Lim

The main problem we have here is that if the colorMode is in `RGB` there is no way for us to know when someone calls `saturation()` whether they mean it...

It could possibly be a permission issue, I don't have an Android device to test but on iOS all of the accelerometer functions are not working because they now require...

@paolobaigueraunitn Does it still not work with the example code I posted above? In iOS Safari you may need to enable it in Preferences as well.

That's odd. Are you using 1.0.0 version of the library? If you can try and get a inspector running in desktop Safari connected to the mobile Safari and see if...

I'm reopening this for further discussion from other members of the community and the relevant area stewards. Feel free to hash out some implementation details such as defaults and customisability....

I'll try to explore this in an addon library for 2D mode and possibly use it to figure out the library interface for 2.0.

Hi @rrshaban, `stroke(rgb, alpha)` is not a supported parameter signature as documented in the [reference](https://p5js.org/reference/#/p5/stroke). The supported options are ``` stroke(v1, v2, v3, [alpha]) stroke(value) stroke(gray, [alpha]) stroke(values) stroke(color) ```...

For the color object itself, it will try to be lossless as much as possible. For things that need different color spaces, I'm still not sure whether the conversion should...

Thinking a bit more now, one thing about deferring to the renderer is that the renderer needs knowledge of how to handle p5.Color object or color spaces itself. We can...

I probably need to think a bit more on this. Just as a scenario: someone has a sketch that uses p5.Color with say display-p3 color space to do whatever it...