CodingTrain / CodingTrain/Suggestion-Box

p5.js performance issues using blendMode()

Open
#1,483 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi there!

Inspired by your tutorials on noise I went ahead and made a [simplex noise demo](https://codepen.io/geletina/pen/PoqxNJp). Ideally I would love to also add a multiply blend mode to it but my computer tries to combust when I attempted to add it to `setup()`. Would you happen to have any thoughts on how I might achieve the same effect less intensively and/or make my code more efficient? I was thinking of refactoring to OOP but even then there doesn't seem to be a way to update my geometries without redrawing. Here's [the issue on stackoverflow](https://stackoverflow.com/questions/60921155/blendmode-rendering-issues-p5-js) as well in case you prefer to use that platform.

🙏

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.