Skip to content

Conversation

@VANSH3104
Copy link
Contributor

Resolves #2984

Changes:

Screenshots of the change:

Before vs After Comparison

Before After
image image
image image
image image
image image
image image
image image
image image

PR Checklist

@VANSH3104
Copy link
Contributor Author

@ksen0 @davepagurek I've implemented the fix for set() to support p5.Graphics objects. The solution adds a check for Graphics instances in p5.Renderer2D.prototype.set() and uses drawImage() with the graphics canvas directly (avoiding .get() as suggested).

@VANSH3104
Copy link
Contributor Author

@ksen0, is this change satisfactory or is there anything further that needs to be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant