Using the p5js javascript library, is there any way that I can take four points in 2D space and stretch the image’s corners to fit those points? I can not use the texture function because it requires WEBGL which I am not using.
I know that there is an option to set the imageMode to CORNERS, but this only accepts two corners and doesn’t allow the image to be stretched to anything besides a rectangle.
ColeBechtel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.