Releases: processing/p5.js
v2.0.5-rc.0
Help test the release candidate
Here are all the updates for the upcoming 2.0.5 release. This is a release candidate (RC), which means it is not yet live on the p5.js Editor. Please help us to improve the stability of the newest version of p5.js by trying out this release candidate, and reporting bugs. The 2.0.5 patch is planned for release on September 1st, 2025, unless there are bugs - then these will be fixed before release.
What's Changed 🎊
- Merge branch 'loopOptimization' of https://github.com/awood0727/p5.js… by @awood0727 in #8024
- Update README.md by @perminder-17 in #8029
- Fixed syntax error at disableFriendleErrors by @Iron-56 in #8038
- Fix noise() getting overridden; add tests by @davepagurek in #8036
New Contributors
Full Changelog: v2.0.4...v2.0.5-rc.0
v1.11.10
How to Use
To use this version, import p5.js from: https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js or duplicate this sketch
In the p5.js Editor, make sure this is in the index.html
page:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js"></script>
Problems or Questions?
You can post an issue on GitHub or ask on Discord
Next Release?
Currently, we are focusing on expanding and improving 2.x - therefore, no new features will be added to 1.x. However, the goal is to keep 1.x available as a stable version of p5.js longer-term, so bugfinding, bugfixes and documentation improvements are welcome. Any new release will first have a release candidate available for testing, which is posted on Discord, Instagram, and GitHub, for several weeks beforehand.
What's Changed 🎊
- Changing URL which comes when user is not in WEBGL mode by @skools-here in #7976
- docs: add mudit06mah as a contributor for doc by @allcontributors[bot] in #7982
- docs: add acgillette as a contributor for code by @allcontributors[bot] in #7990
- Fix parameter documentation for bezierPoint by @shawdm in #7987
- docs: add shawdm as a contributor for doc by @allcontributors[bot] in #7991
- Bring 2.0 stroke ordering fixes to 1.x by @davepagurek in #7996
- docs: add skools-here as a contributor for code by @allcontributors[bot] in #7977
- Remove incorrect mouseX/mouseY docs regarding WEBGL mode by @ericrav in #8004
- docs: add ericrav as a contributor for doc by @allcontributors[bot] in #8007
- Fix: Corrected code block formatting for textureMode() by @harishbit in #8011
- docs: add abuharish02 as a contributor for doc by @allcontributors[bot] in #8012
- docs: add vivekbopaliya as a contributor for code, design, and 2 more by @allcontributors[bot] in #8027
- Update README.md by @ksen0 in #8028
- Adding korean translation steward. by @perminder-17 in #8033
- chore: update README table from stewards.yml by @ksen0 in #8034
- docs: add Iron-56 as a contributor for bug, and code by @allcontributors[bot] in #8039
- docs: add MissTipo as a contributor for blog, code, and 4 more by @allcontributors[bot] in #8045
- mouse offscreen behaviors bugfix by @ksen0 in #8030
New Contributors
- @skools-here made their first contribution in #7976
- @ericrav made their first contribution in #8004
Full Changelog: v1.11.9...v1.11.10
v1.11.10-rc.1
How to test
Please report any issues you find with this release candidate before it goes live as the next version of 1.x! To help test, you can use the downloads below. In the p5.js Editor, you can upload p5.min.js and use it in the index.html
page.
What's Changed
Below are the changes since 1.11.10-rc.0 - primarily documentation, but also addressing a regression.
Bugfix
Documentation
- Fix: Corrected code block formatting for textureMode() by @harishbit in #8011
- docs: add abuharish02 as a contributor for doc by @allcontributors[bot] in #8012
- docs: add vivekbopaliya as a contributor for code, design, and 2 more by @allcontributors[bot] in #8027
- Update README.md by @ksen0 in #8028
- Adding korean translation steward. by @perminder-17 in #8033
- chore: update README table from stewards.yml by @ksen0 in #8034
- docs: add Iron-56 as a contributor for bug, and code by @allcontributors[bot] in #8039
Full Changelog: v1.11.9...v1.11.10-rc.1
v2.0.4
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
- Alias GLSL's mix function as lerp in p5.strands (#7875) by @LalitNarayanYadav in #7887
- Add GLSL-based noise(vec2) function to p5.strands (#7897) by @LalitNarayanYadav in #7921
- Fix inline anonymous functions causing a parsing error in p5.strands callbacks by @nking07049925 in #7956
- Enhance p5.strands noise() to support noise(x, y) and 4-octave fractal noise by @LalitNarayanYadav in #7964
- Fix p5.strands uniform calls, add instance mode construct by @davepagurek in #7961
Bug Fixes 🐞
- Add font readiness wait to create() function in p5.Font.js by @sophyphile in #7882
- Create Graphics fixing in dev-2.0 branch. by @perminder-17 in #7829
- Chore/upgrade eslint by @error-four-o-four in #7853
- Update zod 3 to zod 4 support in p5.js dev-2.0 by @madhav2348 in #7872
- Skip adding degenerate faces in textToModel by @davepagurek in #7951
- Individual flags to disable part of FES by the user by @limzykenneth in #7967
- Add minified ESM build output by @nickswalker in #7973
- Replace fn with direct downloadFile import to fix issue where fn was not found by @acgillette in #7971
- Fix MediaElement.copy by @pearmini in #7980
- Reset millis() after setup by @davepagurek in #8005
- add instance of video in callback (2.0) by @ksen0 in #7877
Documentation 📚
- Remove incorrect mouseX/mouseY docs regarding WEBGL mode in dev-2.0 branch. by @perminder-17 in #8006
- Update dev-2.0 docs with recently-added contributors and stewards by @ksen0 in #8000
- Documentation fix for swapped parameters in splinePoint and bezierPoint by @shawdm in #7997
- Adding docs for
code
in the refrence. by @perminder-17 in #7902 - added documentation to _getBrightness() and _getGreen() function by @FerrinThreatt in #7908
- Updating visual tests docs for 2.x versions by @perminder-17 in #7827
- Revamped config.yml(branch: dev-2.0) by @shivasankaran18 in #7776
- Fix typo in createFileInput example by @ksen0 in #7884
- Fix: Corrected code block in textureMode() in dev2.0 by @abuharish02 in #8015
New Contributors
- @sophyphile made their first contribution in #7882
- @FerrinThreatt made their first contribution in #7908
- @madhav2348 made their first contribution in #7872
- @nking07049925 made their first contribution in #7956
- @nickswalker made their first contribution in #7973
- @acgillette made their first contribution in #7971
Full Changelog: v2.0.3...v2.0.4-rc.2
v2.0.4-rc.2
Help test the release candidate!
Here are all the updates for the upcoming 2.0.4 release! This is a release candidate (RC), which means it is not yet live on the p5.js Editor. Please help us to improve the stability of the newest version of p5.js by trying out this release candidate, and reporting bugs. The 2.0.4 patch is planned for release on August 5th, 2025, unless there are bugs - then these will be fixed before release.
How to test
You can copy this sketch and make p5.js sketches with it - using the new p5.js 2.0 reference - and then report anything that doesn't work well as a bug! This will help improve the next release 🌱 💚
You can use the downloads below, or use https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js in your script
tag. In the p5.js Editor, you can use this URL in the index.html
page:

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
- Alias GLSL's mix function as lerp in p5.strands (#7875) by @LalitNarayanYadav in #7887
- Add GLSL-based noise(vec2) function to p5.strands (#7897) by @LalitNarayanYadav in #7921
- Fix inline anonymous functions causing a parsing error in p5.strands callbacks by @nking07049925 in #7956
- Enhance p5.strands noise() to support noise(x, y) and 4-octave fractal noise by @LalitNarayanYadav in #7964
- Fix p5.strands uniform calls, add instance mode construct by @davepagurek in #7961
Bug Fixes 🐞
- Add font readiness wait to create() function in p5.Font.js by @sophyphile in #7882
- Create Graphics fixing in dev-2.0 branch. by @perminder-17 in #7829
- Chore/upgrade eslint by @error-four-o-four in #7853
- Update zod 3 to zod 4 support in p5.js dev-2.0 by @madhav2348 in #7872
- Skip adding degenerate faces in textToModel by @davepagurek in #7951
- Individual flags to disable part of FES by the user by @limzykenneth in #7967
- Add minified ESM build output by @nickswalker in #7973
- Replace fn with direct downloadFile import to fix issue where fn was not found by @acgillette in #7971
- Fix MediaElement.copy by @pearmini in #7980
- Reset millis() after setup by @davepagurek in #8005
- add instance of video in callback (2.0) by @ksen0 in #7877
Documentation 📚
- Remove incorrect mouseX/mouseY docs regarding WEBGL mode in dev-2.0 branch. by @perminder-17 in #8006
- Update dev-2.0 docs with recently-added contributors and stewards by @ksen0 in #8000
- Documentation fix for swapped parameters in splinePoint and bezierPoint by @shawdm in #7997
- Adding docs for
code
in the refrence. by @perminder-17 in #7902 - added documentation to _getBrightness() and _getGreen() function by @FerrinThreatt in #7908
- Updating visual tests docs for 2.x versions by @perminder-17 in #7827
- Revamped config.yml(branch: dev-2.0) by @shivasankaran18 in #7776
- Fix typo in createFileInput example by @ksen0 in #7884
New Contributors
- @sophyphile made their first contribution in #7882
- @FerrinThreatt made their first contribution in #7908
- @madhav2348 made their first contribution in #7872
- @nking07049925 made their first contribution in #7956
- @nickswalker made their first contribution in #7973
- @acgillette made their first contribution in #7971
Full Changelog: v2.0.3...v2.0.4-rc.2
v1.11.10-rc.0
What's Changed
What's Changed 🎊
- Changing URL which comes when user is not in WEBGL mode by @skools-here in #7976
- docs: add mudit06mah as a contributor for doc by @allcontributors[bot] in #7982
- docs: add acgillette as a contributor for code by @allcontributors[bot] in #7990
- Fix parameter documentation for bezierPoint by @shawdm in #7987
- docs: add shawdm as a contributor for doc by @allcontributors[bot] in #7991
- Bring 2.0 stroke ordering fixes to 1.x by @davepagurek in #7996
- docs: add skools-here as a contributor for code by @allcontributors[bot] in #7977
- Remove incorrect mouseX/mouseY docs regarding WEBGL mode by @ericrav in #8004
- docs: add ericrav as a contributor for doc by @allcontributors[bot] in #8007
New Contributors
- @skools-here made their first contribution in #7976
- @ericrav made their first contribution in #8004
Full Changelog: v1.11.9...v1.11.10-rc.0
v2.0.4-rc.0
What's Changed
What's Changed 🎊
- add instance of video in callback (2.0) by @ksen0 in #7877
- Add font readiness wait to create() function in p5.Font.js by @sophyphile in #7882
- Fix typo in createFileInput example by @ksen0 in #7884
- Create Graphics fixing in dev-2.0 branch. by @perminder-17 in #7829
- Alias GLSL's mix function as lerp in p5.strands (#7875) by @LalitNarayanYadav in #7887
- added documentation to _getBrightness() and _getGreen() function by @FerrinThreatt in #7908
- Chore/upgrade eslint by @error-four-o-four in #7853
- Revamped config.yml(branch: dev-2.0) by @shivasankaran18 in #7776
- Update zod 3 to zod 4 support in p5.js dev-2.0 by @madhav2348 in #7872
- Updating visual tests docs for 2.x versions by @perminder-17 in #7827
- Skip adding degenerate faces in textToModel by @davepagurek in #7951
- Add GLSL-based noise(vec2) function to p5.strands (#7897) by @LalitNarayanYadav in #7921
- Fix inline anonymous functions causing a parsing error in p5.strands callbacks by @nking07049925 in #7956
- Fix p5.strands uniform calls, add instance mode construct by @davepagurek in #7961
- Enhance p5.strands noise() to support noise(x, y) and 4-octave fractal noise by @LalitNarayanYadav in #7964
- Adding docs for
code
in the refrence. by @perminder-17 in #7902 - Individual flags to disable part of FES by the user by @limzykenneth in #7967
- Add minified ESM build output by @nickswalker in #7973
- Replace fn with direct downloadFile import to fix issue where fn was not found by @acgillette in #7971
- Documentation fix for swapped parameters in splinePoint and bezierPoint by @shawdm in #7997
- Update dev-2.0 docs with recently-added contributors and stewards by @ksen0 in #8000
New Contributors
- @sophyphile made their first contribution in #7882
- @FerrinThreatt made their first contribution in #7908
- @madhav2348 made their first contribution in #7872
- @nking07049925 made their first contribution in #7956
- @nickswalker made their first contribution in #7973
- @acgillette made their first contribution in #7971
Full Changelog: v2.0.3...v2.0.4-rc.0
v1.11.9
What's Changed
This release includes bug-fixes and updates to documentation, including the publication of a revised stewardship process.
Bugfix 🐞
- Fixed loop variable in createFileInput() docs (dom.js) by @andrewmcwhae in #7422
- Respect p5.disableFriendlyErrors by @quinton-ashley in #7888
- Remove second call of _updateWindowSize() by @bensgilbert in #7847
Documentation 📚
- docs: add andrewmcwhae as a contributor for doc by @allcontributors[bot] in #7883
- docs: add bensgilbert as a contributor for code by @allcontributors[bot] in #7922
- Update stewards.yml by @ksen0 in #7923
- chore: update README table from stewards.yml by @ksen0 in #7925
- fix duplicate contributor (trivial) by @bensgilbert in #7924
- Fix typos in documentation and comments by @leopardracer in #7926
- docs: add leopardracer as a contributor for doc by @allcontributors[bot] in #7927
- Docs: Fix typos in documentation by @kilavvy in #7931
- docs: add kilavvy as a contributor for doc by @allcontributors[bot] in #7932
- docs: add shivasankaran18 as a contributor for doc by @allcontributors[bot] in #7943
- Revamped config.yml(branch:main) by @shivasankaran18 in #7775
- docs: add madhav2348 as a contributor for code by @allcontributors[bot] in #7948
- docs: add nking07049925 as a contributor for code by @allcontributors[bot] in #7962
- docs: add LalitNarayanYadav as a contributor for code by @allcontributors[bot] in #7916
- docs: add FerrinThreatt as a contributor for doc by @allcontributors[bot] in #7918
- docs: add vtjl10 as a contributor for doc by @allcontributors[bot] in #7914
- Update stewardship guildelines and process by @ksen0 in #7867
- Update stewards-update.yml to fix typo and include token by @ksen0 in #7892
- Added p5.js-website accessibility steward stewards.yml by @ksen0 in #7893
- Update stewards-update.yml to only make PR with README by @ksen0 in #7895
- Update README table from stewards.yml by @ksen0 in #7896
- docs: add atmajaa as a contributor for doc by @allcontributors[bot] in #7901
- Update labeler.yml to correctly group DevOps lables by @ksen0 in #7904
- docs: add SonyaCode as a contributor for a11y, blog, and 4 more by @allcontributors[bot] in #7907
- Correct username in stewards.yml by @IIITM-Jay in #7912
- Fix Typo in Comments: "trhough" to "through" in textOutput.js by @vtjl10 in #7911
- chore: update README table from stewards.yml by @ksen0 in #7913
New Contributors
- @andrewmcwhae made their first contribution in #7422
- @vtjl10 made their first contribution in #7911
- @leopardracer made their first contribution in #7926
- @kilavvy made their first contribution in #7931
Full Changelog: v1.11.8...v1.11.9
v1.11.8
What's Changed
What's Changed 🎊
- Add LalitNarayanYadav for doc by @ksen0 in #7830
- Reduce contributor avatar image size to 64px for improved performance #7788 by @LalitNarayanYadav in #7814
- fix: push() ignoring the ColorMode #7402 by @swastikCommits in #7586
- Revert "fix: push() ignoring the ColorMode #7402" by @ksen0 in #7848
- Fix typos by @omahs in #7855
- docs: add dpanshug as a contributor for doc by @ksen0 in #7864
- added instance of video in callback by @subCode321 in #7585
- chore: fix typos across codebase by @sukrucildirr in #7874
New Contributors
- @subCode321 made their first contribution in #7585
- @sukrucildirr made their first contribution in #7874
Full Changelog: v1.11.7...v1.11.8
v2.0.3
What's Changed
What's Changed 🎊
- docs(keyboard): clarify keyIsDown() documentation for key codes and browser compatibility by @dpanshug in #7812
- Prevent FES from checking nested properties by @IIITM-Jay in #7824
- update the model params to be correct for 2.0 in docs and FES by @lukeplowden in #7832
- Model params updated for YUIDocs by @lukeplowden in #7835
New Contributors
Full Changelog: v2.0.2...v2.0.3