Update dependency p5 to v2 #29
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.4.0->^2.0.0Release Notes
processing/p5.js (p5)
v2.1.1Compare Source
Use this link to load the library: https://cdn.jsdelivr.net/npm/p5@2.1.1/lib/p5.js
What's new in p5.js 2.1 🌱
if/elseand loopingforoneColor.contrast(anotherColor)checks the contrast between two colors. This method returns a boolean value to indicate if the two color has enough contrast.truemeans that the colors has enough contrast to be used as background color and body text color.falsemeans there is not enough contrast.A second argument can be passed to the method,
options, which defines the algorithm to be used. The algorithms currently supported are WCAG 2.1 ('WCAG21') or APCA ('APCA'). The default is WCAG 2.1. If a value of'all'is passed to theoptionsargument, an object containing more details is returned. The details object will include the calculated contrast value of the colors and different passing criteria.For more details about color contrast, you can check out this page from color.js, and the WebAIM color contrast checker.
Changes since 2.0 🎊
codein the refrence. by @perminder-17 in #7902hue(),saturation(),brightness()andlightness()by @limzykenneth in #8062describe()Usage by @NalinDalal in #8101AGENTS.md[dev-2.0 branch] by @ksen0 in #8249New Contributors
Full Changelog: processing/p5.js@v2.0.0...v2.1.1
v2.1.0Compare Source
Use this link to load the library: https://cdn.jsdelivr.net/npm/p5@2.1.0/lib/p5.js
What's new in p5.js 2.1 🌱
if/elseand loopingforoneColor.contrast(anotherColor)checks the contrast between two colors. This method returns a boolean value to indicate if the two color has enough contrast.truemeans that the colors has enough contrast to be used as background color and body text color.falsemeans there is not enough contrast.A second argument can be passed to the method,
options, which defines the algorithm to be used. The algorithms currently supported are WCAG 2.1 ('WCAG21') or APCA ('APCA'). The default is WCAG 2.1. If a value of'all'is passed to theoptionsargument, an object containing more details is returned. The details object will include the calculated contrast value of the colors and different passing criteria.For more details about color contrast, you can check out this page from color.js, and the WebAIM color contrast checker.
Changes since 2.0 🎊
codein the refrence. by @perminder-17 in #7902hue(),saturation(),brightness()andlightness()by @limzykenneth in #8062describe()Usage by @NalinDalal in #8101AGENTS.md[dev-2.0 branch] by @ksen0 in #8249New Contributors
Full Changelog: processing/p5.js@v2.0.0...v2.1.0
v2.0.5Compare Source
What's Changed
This patch fixes a regression on
noise(), and adds many improvements in the documentation of splines and curves. Use this release: https://cdn.jsdelivr.net/npm/p5@2.0.5/lib/p5.min.jsWhat's Changed 🎊
New Contributors
Full Changelog: processing/p5.js@v2.0.4...v2.0.5
v2.0.4Compare Source
What's Changed 🎊
p5.strands Improvements 🧵
p5.strands is an experimental new feature in in p5.js 2.0 for authoring shaders with JavaScript. You can check out the tutorials if you're interested in trying it out. If you're interested in diving deeper and contributing, you're welcome to join the discussion in the the #p5strands channel on our Discord, or work on the open p5.strands issues
Bug Fixes 🐞
Documentation 📚
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.