Releases: processing/p5.js
v1.9.1
What's Changed 🎊
Code
- lights() and specularMaterial() support on framebuffer block when filter is applied inside the block. by @perminder-17 in #6596
- Stores the width and height values before any adjustments are made, Solves #6581 by @diyaayay in #6588
- Image light performance improvements by implementing Framebuffers instead of Graphics. by @perminder-17 in #6599
- Added additional shader usage documentation related to replacement of default shaders. by @deveshidwivedi in #6601
- Fix filter shaders when rectMode is applied; add tests by @davepagurek in #6603
- Fix bug in orbitControl() where scaling with the mouse wheel worked even outside the canvas. by @inaridarkfox4231 in #6629
- Fix Web Accessibility output not tracking background color changes by @limzykenneth in #6619
- Fix syntax error re:
new p5.Vector.cross
by @lindapaiste in #6640 - Add clearDepth() method for feedback effects by @davepagurek in #6584
- cleanup passing of mat4 arguments by @lindapaiste in #6633
- Fix bug in ortho() where using it without arguements, drawing failed in some cases, resolved. by @diyaayay in #6639
- refined the number of samples used in diffused and specular textures by @sudhanshuv1 in #6613
- Resolves #6612 by @calebfoss in #6649
- Fixed the shader in the
endShape()
example to make the boxes separated from one another by @RandomGamingDev in #6656 - bugfix #6653 vertexNormal() is not defined,replaces with normal by @diyaayay in #6659
- Updated docs for p5.Shader.js by @Garima3110 in #6672
- fixed the doubleClicked() in offline docs by @Artimus100 in #6685
- add missing return type by @asukaminato0721 in #6682
- make parms optional by @asukaminato0721 in #6689
- Remove unused grunt task. by @IgnorantSapient in #6718
- Changed the definition of textBounds() in p5.Font.js by @sudhanshuv1 in #6673
- Changed width and height by @Hemant2A2 in #6658
- Create visual test system by @davepagurek in #6604
- Adding metallic feature in p5.js for both IBL and non-IBL codes. by @perminder-17 in #6618
- Solves issue #4562 by @Garima3110 in #6699
- lerpColor in HSL or HSB mode now can loop the color wheel if needed by @Bumblebee00 in #6708
- Enhanced loadModel() method signature with independent U and V flipping options. by @deveshidwivedi in #6669
- max and min now evaluates correctly by @iamnithishraja in #6730
- Add required parameters in _flipPixels function by @mohitbalwani in #6726
OrbitControl()
Compatibility withimageLight()
by fixing camera. by @perminder-17 in #6735- Fix rotation properties being in degrees irrespective of angleMode by @SlightlyEpic in #6589
- Fixed textfont() to work for multi-word fonts by @ar-rana in #6667
- Addresses #6485 Refactor ellipse drawing logic in p5.Renderer2D.js by @tuminzee in #6499
- Add issue form for p5.js 2.0 RFC proposals and make associated updates by @GregStanton in #6748
- Fix for touchEnded triggers twice among other issues with touchEnded/mouseReleased on mobile by @RandomGamingDev in #6738
- Fix for touchStarted triggers twice among other issues with touchStarted/mousePressed on mobile by @RandomGamingDev in #6740
- Update default values in ortho() docs, use default args in example by @davepagurek in #6758
- Fix filters run on framebuffers with different sizes from the main canvas by @davepagurek in #6783
- Adds Error message for when there are no screenshots by @diyaayay in #6773
- Check for per vertex transparency when blending by @davepagurek in #6541
- Fix mistake in p5.Vector.rotate() documentation by @pie999 in #6814
- Fixed cursor image issue by @haroon10725 in #6810
- Added a Method (
panorama(img)
) which adds a sphereMapped Background. by @perminder-17 in #6808 - Implement mirrored video feature for createCapture (#6441) by @Vishal2002 in #6703
- Default values of arguments && modernize some code by @asukaminato0721 in #6807
Documentation
- Update WebGL contributor docs by @davepagurek in #6625
- Fixed example broken by #6216 and added information for new camera default setting by @inaridarkfox4231 in #6620
- Update contributor_guidelines.md by @skushagra9 in #6636
- Update contributor_guidelines.md by @skushagra9 in #6637
- Fix typos in contributor_docs README.md by @jakebeamish in #6628
- fix documentation typo in src/math/random.js by @clemzio in #6702
- fixed second example in the reference page for
acos()
by @sudhanshuv1 in #6697 - Update contributor_guidelines.md by @RohitPaul0007 in #6687
- Update the broken link in friendly_error_system.md by @PracDuckling in #6692
- fixed spelling in src/accessibility/describe.js by @PoulavBhowmick03 in #6705
- fixed spelling in src/accessibility/describe.js by @AmreshSrivastava in #6714
- Update README.md by @codesmith-emmy in #6753
- fixed the example in the reference page for lightFalloff() by @sudhanshuv1 in #6790
- Update contributor docs by @davepagurek in #6811
New Contributors 💗
- @skushagra9 made their first contribution in #6636
- @jakebeamish made their first contribution in #6628
- @lindapaiste made their first contribution in #6640
- @sudhanshuv1 made their first contribution in #6613
- @Artimus100 made their first contribution in #6685
- @clemzio made their first contribution in #6702
- @RohitPaul0007 made their first contribution in #6687
- @PracDuckling made their first contribution in #6692
- @IgnorantSapient made their first contribution in #6718
- @PoulavBhowmick03 made their first contribution in #6705
- @AmreshSrivastava made their first contribution in #6714
- @Hemant2A2 made their first contribution in #6658
- @Bumblebee00 made their first contribution in #6708
- @iamnithishraja made their first contribution in #6730
- @mohitbalwani made their first contribution in #6726
- @ar-rana made their first contribution in #6667
- @tuminzee made their first contribution in #6499
- @GregStanton made their first contribution in #6748
- @codesmith-emmy made their first contribution in #6753
- @pie999 made their first contribution in #6814
- @haroon10725 made their first contribution in #6810
- @Vishal2002 made their first contribution in #6703
Full Changelog: v1.9.0...v1.9.1
v1.9.1-1 (beta)
What's Changed
What's Changed 🎊
- lights() and specularMaterial() support on framebuffer block when filter is applied inside the block. by @perminder-17 in #6596
- Stores the width and height values before any adjustments are made, Solves #6581 by @diyaayay in #6588
- Image light performance improvements by implementing Framebuffers instead of Graphics. by @perminder-17 in #6599
- Added additional shader usage documentation related to replacement of default shaders. by @deveshidwivedi in #6601
- Fix filter shaders when rectMode is applied; add tests by @davepagurek in #6603
- Update WebGL contributor docs by @davepagurek in #6625
- Fixed example broken by #6216 and added information for new camera default setting by @inaridarkfox4231 in #6620
- Fix bug in orbitControl() where scaling with the mouse wheel worked even outside the canvas. by @inaridarkfox4231 in #6629
- Fix Web Accessibility output not tracking background color changes by @limzykenneth in #6619
- Update contributor_guidelines.md by @skushagra9 in #6636
- Update contributor_guidelines.md by @skushagra9 in #6637
- Fix typos in contributor_docs README.md by @jakebeamish in #6628
- Fix syntax error re:
new p5.Vector.cross
by @lindapaiste in #6640 - Add clearDepth() method for feedback effects by @davepagurek in #6584
- cleanup passing of mat4 arguments by @lindapaiste in #6633
- Fix bug in ortho() where using it without arguements, drawing failed in some cases, resolved. by @diyaayay in #6639
- refined the number of samples used in diffused and specular textures by @sudhanshuv1 in #6613
- Resolves #6612 by @calebfoss in #6649
- Fixed the shader in the
endShape()
example to make the boxes separated from one another by @RandomGamingDev in #6656 - bugfix #6653 vertexNormal() is not defined,replaces with normal by @diyaayay in #6659
- Updated docs for p5.Shader.js by @Garima3110 in #6672
- fixed the doubleClicked() in offline docs by @Artimus100 in #6685
- add missing return type by @asukaminato0721 in #6682
- fix documentation typo in src/math/random.js by @clemzio in #6702
- fixed second example in the reference page for
acos()
by @sudhanshuv1 in #6697 - make parms optional by @asukaminato0721 in #6689
- Update contributor_guidelines.md by @RohitPaul0007 in #6687
- Update the broken link in friendly_error_system.md by @PracDuckling in #6692
- Remove unused grunt task. by @IgnorantSapient in #6718
- fixed spelling in src/accessibility/describe.js by @PoulavBhowmick03 in #6705
- fixed spelling in src/accessibility/describe.js by @AmreshSrivastava in #6714
- Changed the definition of textBounds() in p5.Font.js by @sudhanshuv1 in #6673
- Changed width and height by @Hemant2A2 in #6658
- Create visual test system by @davepagurek in #6604
- Adding metallic feature in p5.js for both IBL and non-IBL codes. by @perminder-17 in #6618
- Solves issue #4562 by @Garima3110 in #6699
- lerpColor in HSL or HSB mode now can loop the color wheel if needed by @Bumblebee00 in #6708
- Enhanced loadModel() method signature with independent U and V flipping options. by @deveshidwivedi in #6669
- max and min now evaluates correctly by @iamnithishraja in #6730
- Add required parameters in _flipPixels function by @mohitbalwani in #6726
OrbitControl()
Compatibility withimageLight()
by fixing camera. by @perminder-17 in #6735
New Contributors
- @skushagra9 made their first contribution in #6636
- @jakebeamish made their first contribution in #6628
- @lindapaiste made their first contribution in #6640
- @sudhanshuv1 made their first contribution in #6613
- @Artimus100 made their first contribution in #6685
- @clemzio made their first contribution in #6702
- @RohitPaul0007 made their first contribution in #6687
- @PracDuckling made their first contribution in #6692
- @IgnorantSapient made their first contribution in #6718
- @PoulavBhowmick03 made their first contribution in #6705
- @AmreshSrivastava made their first contribution in #6714
- @Hemant2A2 made their first contribution in #6658
- @Bumblebee00 made their first contribution in #6708
- @iamnithishraja made their first contribution in #6730
- @mohitbalwani made their first contribution in #6726
Full Changelog: v1.9.0...v1.9.1-1
v1.9.0
What's Changed
In this release, p5.js added draggable()
to let you move around elements, added imageLight()
to get 3D lighting from images, added computeNormals(SMOOTH)
for custom smooth 3D geometry, and added support for custom filter shaders in 2D mode. 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.
What's Changed 🎊
DOM
WebGL
- A fix to the formatting of the documentation for endShape's instancing example by @RandomGamingDev in #6495
- Add param geometry in freeGeometry function-docs by @capGoblin in #6500
- Created fix for camera settings getting reset each time resizeCanvas() is called by @RandomGamingDev in #6216
- Made a new method to return Geometry with no internal colors. by @perminder-17 in #6498
- fix camera slerp() BUG by @inaridarkfox4231 in #6509
- Updated documentation for shaders. by @deveshidwivedi in #6497
- Image Light Feature - GSOC 2023 by @AryanKoundal in #6255
- Work Product Report | Improving p5.js WebGL/3d functionality by @AryanKoundal in #6442
- Fix webgl erase. Resolves #6523 by @acamposuribe in #6524
- Solves issue #6502 by @perminder-17 in #6503
- Solved the issue with Pan y-axis inverted in frameBuffer. by @perminder-17 in #6545
- Update computeNormals() to support smooth shading for buildGeometry() outputs by @capGoblin in #6553
- Added feature to saveCanvas() to support framebuffer by @capGoblin in #6510
- Fixes incorrect reference to constants in p5.Geometry.js by @diyaayay in #6577
- Handle premultiplied alpha in filter(OPAQUE) by @davepagurek in #6529
- Adding framebuffer support for filter() + CreateFilterShader for 2D mode by @perminder-17 in #6559
Documentation
- Edit docs for typography attributes by @nickmcintyre in #6454
- Edit docs for accessibility by @nickmcintyre in #6484
- Edit docs for p5.Element by @nickmcintyre in #6512
- Edit docs for environment by @nickmcintyre in #6505
- Revise docs for dom functions by @nickmcintyre in #6534
- Added comments to filter.js by @perminder-17 in #6547
- Edit docs for dom objects by @nickmcintyre in #6552
- Fix typo in JSDoc of the createVector method #6569 by @cabbage63 in #6574
- Solves issue #6519 by @Garima3110 in #6549
New Contributors 💗
- @deveshidwivedi made their first contribution in #6497
- @acamposuribe made their first contribution in #6524
- @diyaayay made their first contribution in #6537
- @wackbyte made their first contribution in #6522
- @cabbage63 made their first contribution in #6574
- @Jaivignesh-afk made their first contribution in #6557
- @SlightlyEpic made their first contribution in #6580
- @tabreturn made their first contribution in #6594
Full Changelog: v1.8.0...v1.9.0
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.