Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding loadBlob() docs #7694

Merged
merged 2 commits into from
Apr 6, 2025
Merged

Conversation

perminder-17
Copy link
Contributor

No description provided.

@perminder-17 perminder-17 requested a review from holomorfo April 2, 2025 02:57
Copy link

@holomorfo holomorfo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good, thanks @perminder-17

* let myBlob;
*
* async function setup() {
* createCanvas(200, 200);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might have to add noLoop(), otherwise the background(220) in draw will clear the image call in the next frame.

Copy link
Contributor Author

@perminder-17 perminder-17 Apr 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I have fixed that. I have moved background(220) to setup(). Is that's going to be a good approach instead of noLoop()?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that works!

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @perminder-17!

@davepagurek davepagurek merged commit 1946523 into processing:dev-2.0 Apr 6, 2025
2 checks passed
@perminder-17 perminder-17 deleted the patch-9 branch April 6, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants