Releases: processing/p5.js
v1.8.0
What's Changed 🎊
WebGL
In this release, p5.js added some new WebGL mode tools. Filters now run in shaders for extra speed, and you can now run custom filter shaders, even on 2D canvases. You can now cut holes in shapes with beginContour()
and apply vector masks with beginClip()
. You can reuse shapes more efficiently with buildGeometry()
and instanced rendering. Finally, we have also fixed a number of bugs. - Summary written by @davepagurek ✨
- Add support for beginContour() and endContour() in Webgl mode by @davepagurek in #6297
- Fix stroke rendering when drawing to framebuffers by @davepagurek in #6304
- Adds createFilterShader() and custom shader support to the webGL filter() function by @wong-justin in #6237
- Fix WebGL text not rendering when rotated 90 degrees by @davepagurek in #6316
- Fix reading between nested active framebuffers by @davepagurek in #6314
- Add methods to construct p5.Geometry from other p5 drawing functions by @davepagurek in #6287
- Handle missing exact edge vertices in buildGeometry by @davepagurek in #6320
- Fix strokes on framebuffers with different aspect ratios by @davepagurek in #6339
- Fix freed geometry leaving attributes in a broken state by @davepagurek in #6323
- Improve performance of line rendering by @davepagurek in #6230
- Add support for webGL instancing by @RandomGamingDev in #6276
- Add shaders for filter() constants, and use them by default in P2D by @wong-justin in #6324
- Fix clip() on both the main canvas and framebuffers by @davepagurek in #6376
- fixed texture filtering bug in p5.Framebuffer by @KeyboardSounds in #6420
- Fix clear() on framebuffers on Intel macs by @davepagurek in #6429
- Fix textureMode(IMAGE) + beginShape(TESS) by @davepagurek in #6366
- fixed issue #6440 by @Gaurav-1306 in #6446
- Erode, dilate, threshold shader filters match closer to CPU filters by @wong-justin in #6405
- Update WebGL blur filter to match CPU blur more by @davepagurek in #6460
- Fix camera flipping on framebuffers between push/pop calls by @davepagurek in #6471
- Setuniform by @Gaurav-1306 in #6474
- resolved issue #6399 by @Gaurav-1306 in #6480
- Auto-bind filter shaders to the filter graphic by @davepagurek in #6482
- new PR for issue #6383(Problem for diagonal) by @perminder-17 in #6488
Friendly Error System (FES)
- Add Hindi translation to FES by @Ayush23Dash in #6272
- Re-worded lines 413 and 446 of FES Developer Notes by @OnexiMedina in #6307
- Reference FES Contributor Docs inside FES Directory along with a diagram to understand usages of FES functions by @Ayush23Dash in #6335
- Fixed typing errors in fes_core.js documentation by @Garima3110 in #6478
- Update friendly_error_system.md by @Garima3110 in #6481
- Update fes_reference_dev_notes.md by @Garima3110 in #6486
Reference Documentation Update
We updated a group of p5.js Reference pages as part of 2023 Season of Docs (SoD) program, with a goal to make them more accessible and beginner-friendly. Thanks to the SoD technical writer @nickmcintyre ✨.
- Edit docs for math functions by @nickmcintyre in #6281
- docs(typography): fix typos in example for textFont by @meezwhite in #6401
- Edit docs for p5.Vector by @nickmcintyre in #6340
- Edit docs for pixels functions by @nickmcintyre in #6390
- Edit docs for loading & displaying images by @nickmcintyre in #6425
- Update docs for p5.Image by @nickmcintyre in #6434
- Edit docs for p5.Font by @nickmcintyre in #6453
- Edit docs for image by @nickmcintyre in #6424
- Edit docs for typography load and display by @nickmcintyre in #6450
Google Summer of Code (GSoC) 2023 Wrap up
- 🌸 Added GSoC wrap up! by @dewanshDT in #6403
- Gsoc 23 Wrapup post by @Ayush23Dash in #6415
- add GSoC'23 wrapup post for Justin Wong by @wong-justin in #6418
- Create lichlyter_gsoc_2023.md by @katlich112358 in #6455
- Create munusshih_gsoc_2023.md by @munusshih in #6461
Other Code Update
- Ask to disable printing when print() called with no arguments by @davepagurek in #6253
- fix textWidth() and textToPoints() by @munusshih in #6184
- Fix issue where nf with 0 'right' parameter returns undefined in string by @limzykenneth in #6291
- Update environment.js with fix for frameRate description by @quinton-ashley in #6269
- Implement clip() to shapes by @davepagurek in #6306
- Clarified workflow for contributing documentation by @thatguyseven in #6312
- Clears MediaElement canvas at the beginning of every frame by @donaldzhu in #6309
- Clean up gruntfile release related steps by @Qianqianye in #6321
- fix-return-type by @asukaminato0721 in #6326
- fix HALF_FLOAT by @asukaminato0721 in #6330
- Added .gitattributes to Increase compatability with Window users and line endings by @SilasVM in #6317
- update all contributors setup by @gr2m in #6341
- refine canvas' type by @asukaminato0721 in #6328
- MouseEvent, WheelEvent and KeyboardEvent type by @asukaminato0721 in #6329
- fixed-wrong-capture-size-and-freeze-issue by @Prateek93a in #5159
- add more event type by @asukaminato0721 in #6379
- Main by @j-adel in #6374
- Update labeler Github Action by @stampyzfanz in #6395
- add unregisterMethod function by @capGoblin in #6426
- add before/after preload and setup by @capGoblin in #6433
- Fix: Misleading error message when NaN passed by @capGoblin in #6464
- Support pixel density on p5.Image (fixes issue #6114) by @Gaurav-1306 in #6447
- Fix orphan canvas when sketch is removed before canvas creation by @limzykenneth in #6355
Other Documentation Update
- Fixed GitHub capitalization typo in contributor_docs by @SilasVM in #6284
- Fixing typo in "What are issues?" by @snwarner22 in #6288
- Fixed GitHub spelling in CONTRIBUTING.md by @SilasVM in #6295
- Fixed grammatical errors in contributor_guidelines.md by @thatguyseven in #6296
- Update documentation_style_guide.md with new guideline by @zelf0 in #6334
- add missing code contributors to all contributors in README and
.all-contributors.rc
file by @gr2m in #6349 - docs(all-contributors): remove @stellartux as requested by @gr2m in #6368
- docs(src/utilities): Use
describe()
instead of@alt
by @Zearin in #5598 - Fix typo in export path to fix dev mode by @mykongee in #6373
- Improve Readme for future Contributors to codebase by @Ayush23Dash in #6260
- Fixed mousePressed() Example Error by @Utkarsh3128 in #6413
- Update README.md by @katlich112358 in #6458
- Fixed typing errors in validate_params.js file's documentation by @Garima3110 in #6473
- typo and unused variable from core by @benschac in #6476
New Contributors 💗
- @munusshih made their ...
v1.7.0
What's Changed 🎊
Thanks to all the contributors! - Qianqian
WebGL
1.7.0 adds WebGL2 support, provides tools for smoother camera movement and more natural orbitControl() thanks to a number of improvements by @inaridarkfox4231. It also introduces createFramebuffer() for fast layering and feedback, as well as the ability to read 3d depth information. - Thanks @davepagurek for the summarization
- Add WebGL2 support by @davepagurek in #6035
- #6022 Issue:Update light.js by @nikhilhvr in #6053
- Add Framebuffer support by @davepagurek in #6072
- Improve zooming behavior with orbitControl() by @inaridarkfox4231 in #6105
- Implement load/updatePixels() and get() for framebuffers by @davepagurek in #6109
- Specification change for ortho() and frustum(), and implementation of scaling in orbitControl() of ortho() by @inaridarkfox4231 in #6111
- Align the method of moving the camera with the right button in orbitControl() to the movement of the mouse by @inaridarkfox4231 in #6116
- Enable orbitControl() on mobile environment by @inaridarkfox4231 in #6119
- Fix lights() to properly specify gray by @inaridarkfox4231 in #6128
- Default ambientMaterial to the base material color if unspecified by @davepagurek in #6130
- Allow texture() to work under specular in WEBGL mode by @inaridarkfox4231 in #6138
- Improve orbitControl() to make it smoother by @inaridarkfox4231 in #6140
- Prevent _orbit() inside orbitControl() from making up vector parallel to y-axis by @inaridarkfox4231 in #6150
- Improvement of orbitControl(): Behavior when going out of canvas during operation by @inaridarkfox4231 in #6169
- Add EasyCam-like behavior to orbitControl() as an option by @inaridarkfox4231 in #6176
- In orbitControl(), use movedX,Y instead of difference of mouseX,Y by @inaridarkfox4231 in #6192
- Fix bugs in saveGif for WebGL2 contexts by @davepagurek in #6201
- Make sure p5.Graphics size is correct before resizing framebuffers by @davepagurek in #6234
- implementation of p5.Camera.set() function by @inaridarkfox4231 in #6243
- implement p5.Camera.slerp(), 3x3Matrix functions and minor spec-change of orbitControl() by @inaridarkfox4231 in #6251
- In p5.Camera.slerp, change the eye-center distance interpolation to be logarithmically based by @inaridarkfox4231 in #6259
- fix triangle() orientation in webgl mode by @inaridarkfox4231 in #6263
FES
- FES throws an error when non globally exposed function's name used in other context by @aditya-shrivastavv in #6055
- [FES] Replace throw error with FES by @chechenxu in #6098
- Correct msgWithReference logic in FES to fix issue 5576 by @Ayush23Dash in #6221
- Update FES check for internal errors to support ES6 classes by @davepagurek in #6244
Documentation
- Removed custom navbar.md in Korean translation of contributors docs by @al6862 in #6039
- Translation of the contribution guidelines to arabic by @MostafaEwis in #6017
- contributing doc by @Bernice55231 in #6102
- update documentation of ambientMaterial() by @ArshM17 in #6146
- Typo fixed: "The file maybe be loaded..." to "The file may be loaded..." by @camelCaseSensitive in #6149
- WebGL mode documentation improvements by @wong-justin in #6167
- contributor_docs zh trans by @wuyudi in #6199
- Add a style guide for documentation. Addresses #6178 by @nickmcintyre in #6206
- add fes zh trans by @wuyudi in #6210
- Edit docs for 2D primitives. Resolves #6217 by @nickmcintyre in #6218
- Edit color creating & reading docs. Addresses #6219 by @nickmcintyre in #6223
- Fix typos in contributor docs. Resolves #6227 by @zelf0 in #6228
- Update doc guides to use let for declarations by @nickmcintyre in #6232
- Update code samples for 2D primitives. Resolves #6239 by @nickmcintyre in #6240
Dependencies
- Bump tough-cookie from 2.3.3 to 4.1.3 by @dependabot in #6256
Others
- Bug fix for frameRate() by @quinton-ashley in #6015
- Updating JSDocs and module URLs by @konstantinstanmeyer in #6036
- Build output cleanup by @Ucodia in #6028
- removed .prettierrc file by @aditya-shrivastavv in #6044
- nf() handling exponential numbers and roundingOff decimal part correctly by @aditya-shrivastavv in #5973
- #6006 issue: Update p5.Color.js by @sawaisinghh in #6047
- Fix malformed json in .all-contributorsrc by @davepagurek in #6051
- Fix updatePixels() for media elements by @davepagurek in #6046
- Allow textAlign(CENTER, CENTER) with max width but no max height by @sawaisinghh in #6060
- Apply blendMode inside _drawPoints by @inaridarkfox4231 in #6069
- Fix gifs not animating in 1.6.0 by @davepagurek in #6067
- rename identifier
globalFunctions
toclassesWithGlobalFns
by @aditya-shrivastavv in #6076 - use es6-style class for some classes. by @wuyudi in #6075
- Fix black first frame when rendering gifs in setup by @davepagurek in #6081
- Make gif test less flaky by @davepagurek in #6090
- changed mousePressed reference description issue#6045 and variable name of example by @yogitheboss in #6059
- added deletion of the success message in the saveGif function by @agrshch in #6086
- Simplified isNumber function by @anpanring in #6095
- Do away with strokeIndices and construct Geometry directly with edges by @inaridarkfox4231 in #6121
- Factor transformations into position and area for shapes' accessible outputs - addresses #4721 by @calebfoss in #6122
- Replace os import to always use '\n' for EOL - resolves #6038 by @calebfoss in #6124
- fix min() and max() crashing on large arrays by @pmarsh-scottlogic in #6129
- Added enable() option for createSelect() by @Aqmalp99 in #6132
- Do not use angleBetween() for angle calculation in _orbit() inside orbtiControl(). by @inaridarkfox4231 in #6154
- more class to es6 by @wuyudi in #6088
- Update offline docs CSS from p5.js-website by @davepagurek in #6177
- #6164 Fixes inability to display single-frame GIFs by @ozramos in #6171
- Changed em tags (asterisks) to multiplication symbols by @Acha0203 in #6183
- fix missing extends by @wuyudi in #6187
- convert some missing class. by @wuyudi in #6173
- use atan2 to calculate angleBetween() by @inaridarkfox4231 in #6205
- implementation of p5.Vector slerp function by @inaridarkfox4231 in #6222
- add missing chainable/doc. by @wuyudi in #6209
- Supporting existing canvas element for createCanvas() and createGraphics() by @ffd8 in #6229
- Don't unpack premultiply alpha for text data textures by @davepagurek in #6236
- Clean up YUIDoc warnings by @limzykenneth in #6246
- Edit color setting docs. Addresses #6219 by @zelf0 in #6226
- Update offlnie reference CSS to fix bullets in class fields/methods by @davepagurek in #6250
- try convert remaining to class by @wuyudi in #6174
New Contributors
- @quinton-ashley made th...
v1.6.0
What's Changed 🎊
This release helps make p5.js WebGL mode work more like 2D mode: shape drawing, transparency, blend modes, and strokes with support for line caps and joins. WebGL mode can now blend colors along vertices and curves in strokes in addition to fills. We've also included lots of bug fixes for text, textures, and gif exports, including letting you export gifs from setup(). Thanks @davepagurek for the summary! Thanks @limzykenneth for supporting the release process! - @Qianqianye 💜
- Fix release action error due to unset secret by @limzykenneth in #5837
- Check for the existence of _friendlyAutoplayError before calling it by @davepagurek in #5825
- Handle v1.div(v2) when vectors are 2D by @davepagurek in #5834
- Enable WebGL blending when drawing with shaders by @davepagurek in #5856
- Handle MULTIPLY with alpha in WebGL by @davepagurek in #5855
- Change curAmbientColor to [1, 1, 1, 1] by @jwdunn1 in #5858
- Fix visual glitches in WebGL font rendering by @davepagurek in #5860
- getTargetFrameRate issue #5762 by @sz245 in #5839
- Update .all-contributorsrc by @dwight9339 in #5862
- Add Entry for GSoC 2022 Wrapup by @Malayvasa in #5863
- Fix tint() for p5.MediaElement by @davepagurek in #5871
- Improved the example code for
createCamera()
! by @Brahvim in #5873 - Minor corrections regarding of the text function. by @inaridarkfox4231 in #5885
- Fix palette generation bugs in saveGif() by @davepagurek in #5883
- Clear depth when background() is called by @davepagurek in #5886
- Update attributes.js by @UnityOfFairfax in #5424
- Fixed
curvePoint
andcurveTangent
ignoringcurveTightness
by @sparshg in #5638 - Add static versions of existing mutable vector functions by @weslord in #5044
- About behavior of resetMatrix function in webgl by @inaridarkfox4231 in #5899
- Match TRIANGLE_FAN strokes in WebGL mode by @davepagurek in #5901
- fix the behavior of the quad function. by @inaridarkfox4231 in #5905
- Match line drawing orientation to primitive face by @inaridarkfox4231 in #5906
- Use TESS as the default shape mode in WebGL by @davepagurek in #5909
- Fix texture coordinate warning when using beginShape(TESS) by @davepagurek in #5910
- Turn on premultiplied alpha (and alpha) by default by @davepagurek in #5917
- Support beginShape(TESS) for faces that don't face the camera by @davepagurek in #5914
- Modify the shader so that the line can be colored per vertex by @inaridarkfox4231 in #5915
- GSoD: another round of edits to contributor docs by @limzykenneth in #5841
- Modify bezierVertex() and quadraticVertex() so that curFillColor becomes an interpolated value by @inaridarkfox4231 in #5920
- Unbind textures when done with a shader by @davepagurek in #5923
- Fix WebGL vertex stroke colors for retained mode + some shape modes by @davepagurek in #5928
- Revert "Bump flat and mocha" by @davepagurek in #5939
- Made image loading failure in preload() not to stop whole process by @r21nomi in #5918
- fix: saveGif's third argument made more optional by @Neilblaze in #5931
- Modify the lightingShader to allow per-vertex coloring by @inaridarkfox4231 in #5938
- Update mocha to latest version by @limzykenneth in #5944
- Fixed Typos in steward_guidelines.md by @ChinmayKadam172 in #5945
- fix : setPosition and move method modified in p5.Camera.js by @Prateek462003 in #5949
- please add my name to the contibuter list by @aditya-shrivastavv in #5963
- Stroke cap+join support for WebGL by @davepagurek in #5802
- Disable unused vertexAttribute to avoid environment-dependent vanishing bugs by @inaridarkfox4231 in #5970
- Fix Frame Rate higher than target on high refresh rate displays (>200Hz) by @JoeCastor in #5847
- Make the orientation of triangle() clockwise by @inaridarkfox4231 in #5978
- fixes the semitransparent stroke disabled by @Prateek462003 in #5985
- Omit processing to the 4th argument in p5.js webgl stroke() by @inaridarkfox4231 in #5989
- Resolves Issue #5511 : GIF's don't update when using setUniform by @AryanKoundal in #5986
- Fix textureWrap REPEAT for WebGL Power Of Two Image Element by @kate-grant in #5987
- Don't run draw right after setup if saving a gif by @davepagurek in #6002
- Fixed line drawing in WebGL when there is a previously defined texture by @leslieyip02 in #5982
- fixed incorrect movement of box by @yogitheboss in #6009
- Resolves Issue#5958 3D orbitControl allowing +-90 degrees not enough. by @AryanKoundal in #6012
By @dependabot
- Bump express from 4.16.2 to 4.18.2 by @dependabot in #5887
- Bump simple-git from 3.5.0 to 3.15.0 by @dependabot in #5889
- Bump flat and mocha by @dependabot in #5922
- Bump minimatch from 3.0.4 to 3.0.8 by @dependabot in #5930
- Bump json5 from 2.1.1 to 2.2.3 by @dependabot in #5929
- Bump simple-git from 3.15.0 to 3.16.0 by @dependabot in #5979
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #6003
New Contributors 💗
Contributed to p5.js GitHub repo
- @jwdunn1 made their first contribution in #5858
- @sz245 made their first contribution in #5839
- @dwight9339 made their first contribution in #5862
- @Malayvasa made their first contribution in #5863
- @Brahvim made their first contribution in #5873
- @inaridarkfox4231 made their first contribution in #5885
- @UnityOfFairfax made their first contribution in #5424
- @sparshg made their first contribution in #5638
- @r21nomi made their first contribution in #5918
- @Neilblaze made their first contribution in #5931
- @ChinmayKadam172 made their first contribution in #5945
- @Prateek462003 made their first contribution in #5949
- @aditya-shrivastavv made their first contribution in #5963
- @JoeCastor made their first contribution in #5847
- @AryanKoundal made their first contribution in #5986
- @kate-grant made their first contribution in #5987
- @leslieyip02 made their first contribution in #5982
- @yogitheboss made their first contribution in #6009
Added by @allcontributors
Contributed to p5.js-website GitHub repo, reviewing, reporting bugs, translation, creating add-on libraries, event organizing, design, etc.
- @raclim made their first contribution for code, added by @allcontributors in #5845
- @lf32 made their first contribution for bug, doc, and 3 more, added by @allcontributors in #5876
- @Brahvim made their first contribution for doc, added by @allcontributors in #5884
- @UnityOfFairfax made their first contribution for code, added by @allcontributors in #5895
- @inaridarkfox4231 made their first contribution for code, added by @allcontributors in #5896
- @jwdunn1 made their first contribution for bug, and code, added by @allcontributors in #5897...
v1.5.0
What's Changed 🎊
Now you can export gif from p5.js directly (Thanks to GSoC 2022 contributor @Jesús Rascón!), scale images to fit or fill a box automatically, get better tint() performance, combine webGL materials, + lots of small webGL fixes. Thanks Dave Pagurek for the summary! Thanks Kenneth Lim and evelyn masso for supporting the release process. - Qianqian
More details below:
- only include necessary files in zip by @outofambit in #5732
- Add automatic labelling to issues by @stampyzfanz in #5731
- Fix applyMatrix example missing from reference page by @limzykenneth in #5738
- Fixes #5207 by @awelles in #5495
- Fix issue labeler permissions and regex by @stampyzfanz in #5744
- Fixed setHeading() not using the current angle mode by @KevinGrajeda in #5736
- Improve performance of tint() by @davepagurek in #5471
- Fix issue #5702 by @msed21 in #5747
- Update .all-contributorsrc by @IkeB108 in #5748
- Correct typo on box() in inline documentation by @calebfoss in #5751
- Label update by @Qianqianye in #5758
- Make reserved word assignment regex work better with function calls by @davepagurek in #5759
- Add support for QUADS and QUAD_STRIP in WebGL mode by @davepagurek in #5768
- Fix vertex ordering for beginShape(QUADS) in WebGL mode by @davepagurek in #5771
- Shrink image used for tint tests to speed them up by @davepagurek in #5773
- Animated GIF masking by @yifanmai in #5508
- Clarify select option behavior by @ggorlen in #5777
- Implement
saveGif
as a native p5 function by @jesi-rgb in #5709 - fixes for #5785 by @dhowe in #5787
- GSoD Contributor Docs Editorial Changes by @limzykenneth in #5764
- Added round corner property for rect() in WebGL mode by @ShenpaiSharma in #5789
- Create graciazhang_gsoc_2022.md by @Gracia-zhang in #5796
- smrghsh GSOC'22 project wrap up by @smrghsh in #5798
- Fix WebGL blending bugs by @davepagurek in #5794
- Add texture coordinates to WebGL rounded rects by @davepagurek in #5795
- Update README.md with GSoC 2022 wrap up link (Gracia) by @Gracia-zhang in #5797
- Add project_wrapup README link to smrghsh GSoC 22 by @smrghsh in #5799
- Added shubham-gsoc-2022-project-wrapup by @ShenpaiSharma in #5800
- Image fit features by @Manpreet-Singh001 in #5784
- Feature Implemeted -- Multiple Material support for geometry by @ShenpaiSharma in #5774
- Refactor and clean up build configurations by @limzykenneth in #5792
- Bump trim-newlines and np by @dependabot in #5806
- Handle making a p5.Texture out of the main canvas by @davepagurek in #5815
- Update contributor name by @ecridge in #5818
- Prevent load* methods outside of preload from rerunning setup by @davepagurek in #5816
- Use textContent to avoid HTML special characters in options by @ggorlen in #5782
- Continuation of Contributor Docs Edits (GSoD) by @limzykenneth in #5813
- Bump semver-regex from 2.0.0 to 3.1.4 by @dependabot in #5826
- Make sure setAttributes updates lingering references to the old canvas by @davepagurek in #5824
- Bump node-fetch and puppeteer by @dependabot in #5827
- Added GSOC 2022 Project Wrapup by @aceslowman in #5828
- Added entry for GSOC 2022 Wrapup post by @aceslowman in #5829
- Fixed typo in comment by @SableRaf in #5833
- Handle vertex data in TESS mode by @davepagurek in #5830
New Contributors 💗
Contributed to p5.js GitHub repo
- @awelles made their first contribution in #5495
- @msed21 made their first contribution in #5747
- @IkeB108 made their first contribution in #5748
- @calebfoss made their first contribution in #5751
- @yifanmai made their first contribution in #5508
- @ggorlen made their first contribution in #5777
- @Gracia-zhang made their first contribution in #5796
- @smrghsh made their first contribution in #5798
- @Manpreet-Singh001 made their first contribution in #5784
- @SableRaf made their first contribution in #5833
Added by @allcontributors
Contributed to p5.js-website GitHub repo, reviewing, reporting bugs, translation, creating add-on libraries, event organizing, design, etc.
- @ongzzzzzz made their first contribution for plugin, added by @allcontributors in #5754
- @bsubbaraman made their first contribution for plugin, added by @allcontributors in #5755
- @jdeboi made their first contribution for plugin, added by @allcontributors in #5756
- @Manpreet-Singh001 made their first contribution, added by @allcontributors in #5803
- @tetrogem made their first contribution, added by @allcontributors in #5804
- @ggorlen made their first contribution for code, added by @allcontributors in #5822
Full Changelog: v1.4.2...v1.5.0
v1.4.2
What's Changed 🎊
- Updated some JsDoc definitions by @Gaweph in #5578
- Improve documetation clarity of material methods by @JetStarBlues in #5310
- docs(contributing md): add language to code blocks by @stampyzfanz in #5586
- fixes issue #5191 along with minor grammatical edits by @reejuBhattacharya in #5592
- Assorted edits to inline docs by @nickmcintyre in #5560
- Bump marked from 0.7.0 to 4.0.10 by @dependabot in #5554
- Bump simple-get from 3.1.0 to 3.1.1 by @dependabot in #5605
- docs(src/io): Use
describe()
instead of@alt
by @Zearin in #5595 - docs(src/math): Use
describe()
instead of@alt
by @Zearin in #5596 - docs(src/typography): Use
describe()
instead of@alt
by @Zearin in #5597 - Update contributor_docs/README.md by @Zearin in #5606
- Improve documentation clarity of light methods by @JetStarBlues in #5312
- Improve clarity of
specularColor()
example by @JetStarBlues in #5314 - Fix typo in vertex.js by @eltociear in #5613
- Fixes issue #5603 by @reejuBhattacharya in #5604
- updated isLooping return type by @Gaweph in #5618
- docs(src/events): Use
describe()
over@alt
by @Zearin in #5593 - Fixed bug were cached colors are not cleared by @0xJonas in #5353
- docs(p5.Vector): Formatting and minor copy edits by @Zearin in #5580
- Reference Catmull-Rom in the docs for curvePoint by @davepagurek in #5493
- Fix typo in fes_reference_dev_notes.md by @eltociear in #5642
- build(deps-dev): bump simple-git from 1.132.0 to 3.3.0 by @dependabot in #5639
- Fixed typo on atan2() page by @koolaidkrusade in #5655
- Fix typo on 'updatePixels()' page by @smilee in #5648
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #5652
- refactor: replace deprecated String.prototype.substr() by @CommanderRoot in #5643
- Update p5.Element.js by @error-four-o-four in #5664
- Fix typo in p5.RendererGL.Immediate.js by @eltociear in #5676
- Fix typo by @idodana in #5672
- p5.image docs typo fix by @processprocess in #5671
- build(deps-dev): bump grunt from 1.3.0 to 1.5.3 by @dependabot in #5679
- build(deps-dev): bump simple-git from 3.3.0 to 3.5.0 by @dependabot in #5661
- Publishing FES Survey Results and Friendly Errors i18n Book by @almchung in #5691
- build(deps): bump shell-quote from 1.7.2 to 1.7.3 by @dependabot in #5698
- Update
saveFrames
documentation by @jesi-rgb in #5694 - added describe() to all 3d reference examples by @aceslowman in #5706
- Reword first issue welcome comment to mention issue forms by @stampyzfanz in #5640
- Update Readme for evelyn moving to mentor role by @outofambit in #5714
- Fixed background transparency with Images by @yashlamba in #5683
- Fix noSmooth printing message when used with a non WebGL graphics by @limzykenneth in #5726
- Fixes #5160 by @KevinGrajeda in #5682
New Contributors 💗
Contributed to p5.js GitHub repo
- @stampyzfanz made their first contribution in #5586
- @0xJonas made their first contribution in #5353
- @koolaidkrusade made their first contribution in #5655
- @smilee made their first contribution in #5648
- @CommanderRoot made their first contribution in #5643
- @error-four-o-four made their first contribution in #5664
- @idodana made their first contribution in #5672
- @processprocess made their first contribution in #5671
- @jesi-rgb made their first contribution in #5694
- @aceslowman made their first contribution in #5706
- @yashlamba made their first contribution in #5683
- @KevinGrajeda made their first contribution in #5682
Added by @allcontributors
Contributed to p5.js-website GitHub repo, reviewing, reporting bugs, translation, creating add-on libraries, event organizing, design, etc.
- @unjust made their first contribution for bug, added by @allcontributors in #5611
- @Gaweph made their first contribution for code, added by @allcontributors in #5612
- @eltociear made their first contribution for doc, added by @allcontributors in #5614
- @KouichiMatsuda made their first contribution for bug, added by @allcontributors in #5621
- @taejs made their first contribution for bug, added by @allcontributors in #5623
- @Divyansh013 made their first contribution for translation, added by @allcontributors in #5624
- @rinkydevi made their first contribution for translation, added by @allcontributors in #5625
- @cas-c4ta made their first contribution for bug, added by @allcontributors in #5626
- @danieljamesross made their first contribution for bug, added by @allcontributors in #5627
- @liz-peng made their first contribution for design, code, tool, added by @allcontributors in #5645
- @tapioca24 made their first contribution for plugin, added by @allcontributors in #5701
- @adarrssh made their first contribution for translation, added by @allcontributors in #5711
- @kaabe1 made their first contribution for design, eventOrganizing, added by @allcontributors in #5713
- @Guirdo made their first contribution for translation, added by @allcontributors in #5715
- @3ru made their first contribution for bug, review, code, added by @allcontributors in #5716
- @LEMIBANDDEXARI made their first contribution for translation, added by @allcontributors in #5721
- @probablyvivek made their first contribution for translation, added by @allcontributors in #5724
- @anniezhengg made their first contribution for code, design, added by @allcontributors in #5729
- @SNP0301 made their first contribution for translation, added by @allcontributors in #5730
You can find all of our contributors in our README. Thank you to all the contributors! 💜
Full Changelog: v1.4.1...v1.4.2
v1.4.1
What's Changed 🎉
- Update .all-contributorsrc by @anniemckinnon in #5342
- Rename
Lights, Camera
module to3D
by @JetStarBlues in #5295 - removed unused .jshintrc by @N4M3L355 in #5345
- Point to wiki in text() reference page by @JetStarBlues in #5319
- Fixed round implementation support for numbers that have string representations that use exponential notation. by @sflanker in #5341
- GSoC'21: adding to FES phase 1 by @Aloneduckling in #5305
- docs: add jiwonme as a contributor for code by @allcontributors in #5352
- Rename
aMaterialColor
attribute toaVertexColor
by @JetStarBlues in #5303 - Improve documentation clarity of shader methods by @JetStarBlues in #5307
- Improve clarity of
noLights()
example by @JetStarBlues in #5313 - Improve clarity of
lightFalloff()
example by @JetStarBlues in #5315 - Improve documentation clarity of texture methods by @JetStarBlues in #5316
- docs: add truemaxdh as a contributor for bug, code by @allcontributors in #5365
- Detecting redeclaration of p5.js reserved constants and functions by @Aloneduckling in #5351
- Fix typo in image.js by @eltociear in #5375
- docs: add katiejliu as a contributor for code by @allcontributors in #5378
- add VERSION const as p5.VERSION by @micuat in #5165
- fixing links to p5.MediaElement - resolves #5355 by @guilhermesilveira in #5356
- docs: add guilhermesilveira as a contributor for doc by @allcontributors in #5379
- Add gsoc 2021 project wrapup by @Aloneduckling in #5372
- Bump path-parse from 1.0.5 to 1.0.7 by @dependabot in #5371
- Final Work Product Submission for GSoC 2021 - Anais Gonzalez by @anagondesign in #5382
- add project wrap-up to README.md by @Aloneduckling in #5383
- make it possible to call "npm run dev" per docs without having called "npm grunt" first by @gregsadetsky in #5391
- Update dom.js comments by @WayGuan in #5394
- Fixing ReferenceError: totalHeight is not defined throw by textAlign(… by @malviys in #5366
- Unit test fix to resolve #5367 by @almchung in #5412
- Update puppeteer and other dependencies by @limzykenneth in #5413
- Create nikiito_gsoc_2021.md and add Work Product Report link to first paragraph by @niki-ito in #5399
- add gsoc 2021 project wrapup for addon library development - p5.teach.js by @aditya-siddheshwar in #5418
- Update README.md by @niki-ito in #5417
- GSOC 2021 wrap-up post added by @SanjaySinghRajpoot in #5419
- Update README.md with link to GSoC 2021 wrap-up by @anagondesign in #5423
- Create katiejliu_gsoc_2021.md by @katiejliu in #5425
- Added Documentation for GSoC 2021 by @jhongover9000 in #5426
- Fix typo in vertex.js by @eltociear in #5431
- fix horizontal/vertical alignment for multi-line text by @dhowe in #5432
- explicitly check if mouseIsPressed is true for documentation by @michaeleggers in #5437
- Added wrap-up of gsoc-21 @satyasaibhushan by @satyasaibhushan in #5439
- add internal functions for changing translation language in i18next by @outofambit in #5443
- Add myself to contributors by @camilleroux in #5444
- Fix typo in dom.js by @eltociear in #5459
- fix: Update the rem instance method to be chainable by @aaronccasanova in #5461
- New FES Contributor Docs + FES Survey Link by @almchung in #5460
- FES Contributors doc link updates by @almchung in #5473
- Fix to Issue #5462 by @dhowe in #5466
- Remove reference to p5 instance in p5.Vector objects by @limzykenneth in #5469
- Removes invalid website inconsolata reference by @guilhermesilveira in #5381
- Resolves #5481 Set uniform arrays bug by @aferriss in #5483
- fixed-select-option-using-label-issue by @Prateek93a in #5098
- Fixed Typo in Hindi translation of the contributor_docs by @IamEzio in #5492
- Updated strokeWeight() documentation by @reejuBhattacharya in #5480
- docs: add reejuBhattacharya as a contributor for doc by @allcontributors in #5498
- docs: Fix typos (its/it’s) by @Zearin in #5500
- Add a uModelViewProjectionMatrix uniform by @JetStarBlues in #5283
- Add an example for resetShader() by @JetStarBlues in #5265
- Allow clear colors to propagate to the webGL clear method. by @aferriss in #5515
- Fixed function isTextureShader. by @sflanker in #5510
- Allow p5.Texture inputs to setUniform by @aferriss in #5517
- Allow texture() to accept p5.Texture argument without throwing a warning. by @aferriss in #5519
- Fixed GIF Freezing After Returning to Unfocused Tab by @frigorific44 in #5484
- docs: add akshatnema as a contributor for code by @allcontributors in #5531
- docs: add IamEzio as a contributor for bug by @allcontributors in #5532
- docs: add Himanshu664 as a contributor for bug by @allcontributors in #5533
- docs: add chosamuel as a contributor for bug by @allcontributors in #5534
- docs: add TOrfevres as a contributor for bug by @allcontributors in #5536
- docs: add reejuBhattacharya as a contributor for code by @allcontributors in #5537
- docs: add JaPatGitHub as a contributor for doc by @allcontributors in #5538
- docs: add Zearin as a contributor for doc by @allcontributors in #5539
- docs: add pifragile as a contributor for bug by @allcontributors in #5540
- docs: add KevinWorkman as a contributor for doc by @allcontributors in #5541
- docs: add j-stodd as a contributor for bug by @allcontributors in #5542
- docs: add soegaard as a contributor for doc by @allcontributors in #5543
- docs: add oleboleskole3 as a contributor for bug by @allcontributors in #5544
- docs: add awelles as a contributor for bug by @allcontributors in #5545
- resolves #5465, typo in setMag() example by @montoyamoraga in #5535
- docs: add andreiantonescu as a contributor for bug by @allcontributors in #5546
- docs: add dipamsen as a contributor for bug by @allcontributors in #5547
- docs: add soegaard as a contributor for bug by @allcontributors in #5548
- docs: add stigmollerhansen as a contributor for bug by @allcontributors in #5549
- docs: add frigorific44 as a contributor for code by @allcontributors in #5550
- docs: add willmartian as a contributor for ideas by @allcontributors in #5551
- Fixes bug introduced by #5483 by @aferriss in #5553
- docs: Use “×” for dimensions by @Zearin in #5502
- fixes issues #5374 and #5504 by @reejuBhattacharya in #5558
- feat: enable Github Issue Forms by @willmartian in #5479
- Fix typo in curveVertex doc by @beaumu in #5566
- dom.js - Make PositionType argument optional by @Gaweph in #5569
- Changes webGL alpha buffer to false. by ...
v1.4.0
General Changes
- Updated p5 sound library to
v1.0.1
! (Release notes)
Code Changes
- Added support for UInt32 vertex indices
- Change p5.Geometry's module/submodule
- Fixes initialization of user-defined stroke shader
- Processing keyword changed to p5 on mouse.js
- Disable codecov comments
- Fix "Javacript" typo in error message
- Update GIF disposal handling
- Update reference.js
- Add text wrapping function
- Update browser compatibility info for build process
describeElement()
regex quick fix
Documentation Changes
- Removed redundant string "(Optional)" everywhere in the inline documentation
- Fixes canvas size problem of
fract()
page in reference section - add missing space in
arc()
docs - Add
p5.Camera.frustum
documentation on reference page norender
class added to createCapture documentation- Update README.md -- aligned vertical bars
- Updated Hindi contributor docs README.md
- Added missing hindi translations to unit_testing.md
- Add fes message
- Fix copypasta in sample code
- Add a reference from one
dist()
the other one and vise-verse. - Improve
createCamera()
example - Fix the
texture()
example - Add
vertex()
variant to documentation - Add example for
specularMaterial()
- Update
describe()
reference - Fix typos show up in docs
- Fix "it's" in translation.json
- Improve documentation clarity of some of the camera methods
- Group materials on reference page
- Added hindi translations for es6-adoption.md file
- Added example and decription of params of
beginShape()
- Fixed the documentation for Vector.angleBetween to indicate that it respects
angleMode
. - Adding missing
</code></div>
in the centerY and centerZ example code - Remove extra optional text from docs for
describe()
- Fix typos in descriptions
- Update Maintainers in Contributor Docs
- Fixed errors in hindi translation of contributor docs
- Fixed typo
- Converted some auto-generated links in the reference documentation to same-document references
New Contributors
😻 New contributors since last release: @Nitin-Rana, @sflanker, @pearmini, @osteele, @code4humanity, @JetStarBlues, @JetStarBlues, @ghalestrilo, @TylersGit, @ageonic, @cryptochap, @christhomson, @DavidWeiss2, @leokamwathi, @davepagurek, @Rahulm2310, @smrnjeet222, @maxthomax
You can find all of our contributors in our ReadMe.
v1.3.1
- Merge pull request #5060 from ShenpaiSharma/Issue_#5046 9722a0d
- Merge pull request #5123 from processing/all-contributors/add-b4ux1t3 a509c43
- Merge pull request #5122 from b4ux1t3/small-typo 4274827
- Added missing space. c84dae0
- Merge pull request #5106 from JuanIrache/main 02416f3
- Merge pull request #5107 from micuat/add-version-const a1ce015
- Merge pull request #4989 from fal-works/fix/inline-docs 68ac2be
- Merge pull request #5103 from duskvirkus/gl-stroke-bug-fix 4c194ec
- catch crashes of fetch when loading image 5fa7ca9
- docs: add @params tag to windowResized() d46e5b9
- docs: revert changes in event handler functions remove @return tags (see #4988) 485dc36
- docs: revert changes in windowResized() remove description about "return false" remove @param, @return tags (see #4988) 81499b8
- adding unit tests for p5.RendererGL.prototype.ellipse and p5.RendererGL.arc 105e0e8
- fixing bug for drawing ellipse/arc with detail higher than 50 and improving documentation for ellipse/arc arguments e395827
- Merge pull request #5090 from msub2/main 3e1eae2
- Merge pull request #5093 from lawreka/revert-hyphenation 19fa310
- remove word breaks and hyphenation 7368adb
- Using offscreen canvas to extract the pixel data of webgl canvas using CanvasRenderingContext2D. 7240ce6
- Merge pull request #4642 from outofambit/fix-ie11-support 6fe2d80
- Add check for TypedArrays in applyMatrix 1855756
- Merge pull request #5084 from Aloneduckling/correct-style-example 55af036
- Merge pull request #4756 from TakumaKira/main 39b4fd7
- Changed the styles of dom-style examples 1983eed
- Fixes tint in 2d canvas with webgl p5.Graphics 27fb4ac
- docs: improve inline docs of key event handlers add @param
[event]
df8a3ca - docs: improve inline docs of event handler funcs add @return as they may
return false
b7123bc - docs: improve inline docs of
windowResized()
add description aboutreturn false
, add @param[event]
8a2a4dc - docs: fix inline docs of
int()
paramradix
was missing 3d965b4 - White dot with a small radius is not entirely white. 881cfa3
- Allow drawing point with large scale and small strokeWeight. dc9ab8f
- White dot with a small radius is not entirely white. 1fc9668
- Allow drawing point with large scale and small strokeWeight. 0864adb
1.3.0
- removing empty-example link to p5.sound until load functionality is fixed closes #5068 1b93190
- adding note about textFont return type closes #4926 02c7eb1
- adding note about p5 editor to getURL methods closes #5035 7fda84a
- adding note about cumulative mask property to mask closes #5012 d4aec1a
- removing unnecessary backslash in blendmode documentation closes #5042 85dc5a0
- fixing some npm vulnerabilities 6407fbf
- Merge branch 'main' of github.com:processing/p5.js into main f8cd935
- Merge pull request #5073 from processing/dependabot/npm_and_yarn/elliptic-6.5.4 8fb8c93
- Merge pull request #5069 from meodai/main a20779d
- Merge pull request #5075 from processing/all-contributors/add-Aloneduckling 336389a
- docs: update .all-contributorsrc [skip ci] 298be5b
- Merge pull request #5071 from Aloneduckling/p5js-camera-docs e6b7382
- docs: update README.md [skip ci] 5ec2075
- Merge pull request #5074 from processing/all-contributors/add-msub2 7ad3311
- Merge pull request #5072 from msub2/main c212eab
- docs: update .all-contributorsrc [skip ci] 9d87b3f
- docs: update README.md [skip ci] 6290db3
- these changes are in response to PR comments d4db58a
- Bump elliptic from 6.5.3 to 6.5.4 a33b059
- Remove unused parameters, updated inline examples e913f92
- applyMatrix now accepts an array as the first argument 873ef63
- make the example readonly by adding norender class 56a968c
- replaces the minified version of p5.sound with the plain one in the demo 78b8d37
- add examples and docs for centerX/Y/Z and upX/Y/Z 8fb358e
- add documentation for eyeX, eyeY, eyeZ properties 8082db1
- Merge pull request #5055 from satyasaibhushan/remove_space_under_foundation_section a8afd77
- mention camera opbect properties in the docs bbe0a71
- Merge pull request #5063 from processing/saveFrame-typo acf5f8f
- fix typo on saveFrames c77db0e
- Merge pull request #5062 from processing/all-contributors/add-sosunnyproject 81d87b3
- docs: update .all-contributorsrc [skip ci] fce32ef
- docs: update README.md [skip ci] e0b15da
- docs: add jcelerier as a contributor (#5059) f1010c1
- docs: add vulongphan as a contributor (#5058) 3d83877
- update lights function to handle non-RGB color modes (#5049) be51645
- added submodule to Foundation section in reference to remove inconsistencies in spacing cefdcd7
- Merge pull request #5052 from rt1301/#5045-filter-doc f81bb70
- feat:updated p5.Image filter() methods docs 435c321
- Merge pull request #1 from processing/main a82db0f
- Merge pull request #5041 from processing/all-contributors/add-satyasaibhushan bb4ba44
- docs: update .all-contributorsrc [skip ci] 60eeae8
- docs: update README.md [skip ci] b30e5c9
- delete duplicate "tool" and fix link to avatar 39fcd6e
- delete comma to fix it a82557a
- Fixed link to Mozilla JS practices eb9b15a
- Merge pull request #5033 from Prateek93a/update-unit-testing-doc a765b36
- Merge branch 'hdcola/main' into main 396907d
- Edit Chinese translation of contributor documentation 4f878bc
- Update unit_testing.md a8abe64
- Merge pull request #5028 from nakednous/patch-1 0fb9474
- Update .all-contributorsrc e248e41
- Merge pull request #5026 from processing/all-contributors/add-ShenpaiSharma 2861c2c
- docs: update .all-contributorsrc [skip ci] cefcfab
- docs: update README.md [skip ci] 5c50ff7
- Merge pull request #5025 from ShenpaiSharma/Issue_#5014 c86c76c
- Added comment to explain default 10FPS b933baf
- Changed frameInfo.delay value whent it is equal to 0 0002ceb
- Merge pull request #4996 from weslord/static-normalize 5db68fb
- Merge pull request #5013 from PandaBalls/main f2f8bb1
- Merge pull request #5020 from processing/all-contributors/add-myselfhimself 0261e25
- Merge pull request #5017 from myselfhimself/patch-1 c2c8992
- docs: update .all-contributorsrc [skip ci] a4e7cf5
- docs: update README.md [skip ci] 01b5f7b
- #4866 V texture coordinate inversion on OBJ loadModel 2b6302d
- fix saveTable() issue 46b7e95
- translation into Chinese ae90c37
- Merge pull request #5008 from processing/add-self-as-steward 23db9e6
- added myself as steward 4218dd1
- Add self as steward 5b16ce0
- Merge pull request #5003 from choxi/offscreen-render-bug 35f2312
- Fixes offscreen rendering bug 4b146e4
- Add tests for p5.Vector.normalize() 4143134
- Add static version of Vector.normalize() 3d34b2e
- Make p5.Vector.mag() comments consistent with others 18dbd51
- Merge pull request #4986 from siv2r/patch-1 9688687
- Update .all-contributorsrc 426b693
- Merge pull request #4979 from Aloneduckling/DOM-examples-corrected f326680
- Merge pull request #4972 from siv2r/static-rotate 2c1a693
- Merge pull request #4984 from limzykenneth/color_toString 49f2a51
- Fix typo in color toString method 8d7a063
- Merge pull request #4981 from processing/all-contributors/add-frappelatte28 c1da5e2
- docs: update .all-contributorsrc [skip ci] a6ac09c
- docs: update README.md [skip ci] fa1264f
- improved checks for static p5.Vector rotate() 0b89c6f
- Merge branch 'main' into DOM-examples-corrected efcfe58
- better checks for rotate (static function) b5abddd
- Merge pull request #4819 from Aloneduckling/add-DOM-example 54b6f0b
- removed no render class, and corrected the styling of DOM examples for better display 48d309c
- added example for rotate func (static implementation) f25907b
- removed addtional param description for angle 2ab9ab1
- added rotate (static function) for p5.Vector 998d10c
- Merge pull request #4901 from Vamoss/main 8741583
- Merge pull request #4963 from processing/all-contributors/add-siv2r 176bf5d
- docs: update .all-contributorsrc [skip ci] 95240ab
- docs: update README.md [skip ci] bd382c1
- Merge pull request #4962 from siv2r/fix_typos-inline_documentation f77c8e6
- remove smooth option from quad function (original restored) df81685
- Merge branch 'main' of https://github.com/processing/p5.js into main 253eec5
- added npm run before grunt c709728
- renamed yuidoc-p5-theme-src to yuidoc-p5-theme 321cfe3
- fixed broken link daf4605
- changed definition to description f4a5e1f
- added line break before the template image e8b9dc7
- Merge pull request #4959 from limzykenneth/pupeteer-update 174e579
- Add linux sandbox flag to puppeteer command e9f04db
- Update puppeteer to latest version 94e99fd
- Merge branch 'main' of https://github.com/processing/p5.js into main 549133f
- Smooth Quad Distortion (relates to #4288) 75b8afd
- examples now showing, removed spaces which caused error during build 2155745
- removed norender class, DOM examples now working ea6fc59