You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the image() function doesn't support 3D coordinate system, only 2D. I have found myself using a helper function like this very often when I had needed a 3D coordinate support:
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!
Thanks for filing this issue! I think it makes a lot of sense, especially since most other p5 methods let you specify a z coordinate when you go from 2D to 3D.
I think the biggest challenge in implementing this will be in reading the arguments list properly. I think the new method signature would be:
I think it should still be unambiguous to parse it out though since we're just adding one new optional number in the start (adding two would probably make clashes the longer form of image().)
Increasing Access
Unsure
Most appropriate sub-area of p5.js?
Feature enhancement details
Currently the
image()
function doesn't support 3D coordinate system, only 2D. I have found myself using a helper function like this very often when I had needed a 3D coordinate support:I feel it is a very simple yet useful enhancement to add, as discussed with @davepagurek earlier.
Thank you!
The text was updated successfully, but these errors were encountered: