Releases: processing/p5.js
v1.11.1
What's Changed 🎊
Code
- fixed nf to work with negative number by @Akhilbisht798 in #7054
- textureData updated to fix flipping property for webgl by @MuktiMishra in #7305
- Fix ellipseMode(CORNERS) and rectMode(CORNER) by @martinleopold in #7290
- add usage of dist by @asukaminato0721 in #7324
- Uses canvas dimensions instead of arbitrary constants for
noise()
andnoiseDetail()
by @RandomGamingDev in #7330
Documentation
- Change Reference Example by @samarsrivastav in #7280
- Fix example of createModel function. by @shibomb in #7298
- fix missing example tag in documentation for color's toString method by @ashish1729 in #7302
- Fixes language reference and Markdown syntax by @danicruz0415 in #7314
- fix typo by @asukaminato0721 in #7322
- Fix broken links in contributor-doc by @shibomb in #7320
- Fix broken links in website references by @shibomb in #7321
- mouseY reference first example issue fixed by @shourysingh07 in #7311
- Docs: "A maximum of 5 directional lights can be active at once." by @blackboxlogic in #7337
New Contributors 💗
- @samarsrivastav made their first contribution in #7280
- @Akhilbisht798 made their first contribution in #7054
- @MuktiMishra made their first contribution in #7305
- @danicruz0415 made their first contribution in #7314
- @martinleopold made their first contribution in #7290
- @blackboxlogic made their first contribution in #7337
Full Changelog: v1.11.0...v1.11.1
v1.11.0
What's Changed 🎊
Code
- Fix unnecessary console warnings when using smooth() on P2D Graphics objects by @zeesworth in #7159
- added paletteLerp by @RandomGamingDev in #6960
- imageLight - panorama shader bug, added @perminder-17 code snippet by @PimTournaye in #7169
- Tie FES initialization to only run just before p5 init by @limzykenneth in #7173
- Code block updates in
vertex.js
by @DenisovichDev in #7174 - Fix incorrect pixel offset in updatePixels() by @Forchapeatl in #7177
- fix for #7181 by @orrkislev in #7182
- Fix Camera.eyeX comment by @Psychpsyo in #7184
- Solves issue #6891 by @Garima3110 in #7165
- Fix: Added unique group names for radio buttions by @Forchapeatl in #7162
- Caps at the beginning of the curve by @diyaayay in #7201
- Added useLinePerspective to cam copy properties by @TiborUdvari in #7213
- Fix clipping bug with ellipses by @jeanetteandrews in #7249
- Refactor arc and rect to use canvas methods rather than curves by @ksen0 in #7205
- Shader hooks by @davepagurek in #7149
- fix: added
WEBGL
mode for correct blendMode(SUBTRACT) behavior by @Abhinavcode13 in #7229 - Add list support for
lerpColor
like other color functions by @RandomGamingDev in #6954 - Remove 2.0 built file by @davepagurek in #7274
- Added textAscent and textDescent functions on Webgl by @Forchapeatl in #7187
- Line.vert fix for small units by @TiborUdvari in #7206
- fixed textpoint alignment by @mathewpan2 in #6967
- Fixed minor error in documentation for p5.Vector.sub() by @jaredberghold in #7265
- Rename default shader methods to have a base* prefix by @davepagurek in #7288
- Performance improvements for WebGL shape drawing by @davepagurek in #7287
Documentation
- add non-code contributions to contrib guidelines readme by @sarahciston in #6941
- Update README.md to include an updated get started link by @willallstet in #7232
- Fix : broken link in contributor_docs/webgl_mode_architecture.md by @ashwanidey in #7235
- Fix broken links in contributor_docs/steward_guidelines.md by @aleannab in #7240
- Fix broken link in contributing_to_the_p5js_references.md by @aleannab in #7242
- Fix : broken link in contributor_docs/webgl_contribution_guide.md by @ashwanidey in #7239
- Fix Broken README Link by @benpalevsky in #7216
- Fixed the broken link on p5.js website page for "p5.js Web Accessibility" by @shourysingh07 in #7254
- Fixed the broken link on p5.js website page for "Our Focus on Access" by @shourysingh07 in #7255
- Fixed broken links for p5js references by @visheshrwl in #7253
- fix: broken links in lerpColor() by @M0nica in #7241
- Fix broken links in contributor_docs/access.md by @aleannab in #7243
- Fixed the broken link on p5.js website page for "WebGL Contribution Guide". by @shourysingh07 in #7263
- Fixed the broken link on p5.js website page for "How to add Friendly Error Messages" by @shourysingh07 in #7264
New Contributors 💗
Thanks to all the contributors, and big shout out to the first time contributors!
- @zeesworth made their first contribution in #7159
- @PimTournaye made their first contribution in #7169
- @DenisovichDev made their first contribution in #7174
- @Forchapeatl made their first contribution in #7177
- @orrkislev made their first contribution in #7182
- @Psychpsyo made their first contribution in #7184
- @sarahciston made their first contribution in #6941
- @TiborUdvari made their first contribution in #7213
- @willallstet made their first contribution in #7232
- @ashwanidey made their first contribution in #7235
- @aleannab made their first contribution in #7240
- @benpalevsky made their first contribution in #7216
- @jeanetteandrews made their first contribution in #7249
- @shourysingh07 made their first contribution in #7254
- @visheshrwl made their first contribution in #7253
- @M0nica made their first contribution in #7241
- @ksen0 made their first contribution in #7205
- @mathewpan2 made their first contribution in #6967
- @jaredberghold made their first contribution in #7265
Full Changelog: v1.10.0...v1.11.0
v1.10.0
What's Changed 🎊
Code
- Adds geometry to downloadable obj files functionality by @diyaayay in #6812
- Implemented roll function by @rohanjulka19 in #7093
- Added window size check upon p5 instantiation by @Evorage0 in #7134
- Adds
webp
mime type tosaveCanvas
. by @starzonmyarmz in #7140 - modified stroke vertex shader by @JordanSucher in #7064
- Separate Model and View Matrices. by @deveshidwivedi in #6761
- Switch camera keep transform by @davepagurek in #7067
- Check the element type before calling
createRadio
fromselect()
by @lindapaiste in #6838 - Use requestAnimationFrame timestamp for less noise in deltaTime by @davepagurek in #6785
- Update clearDepth() example to restore trails by @davepagurek in #7095
- Changed point class documentation description text by @Chaitanya1672 in #7096
- Skip out of canvas shapes for gridOutput() table by @limzykenneth in #7135
- Fix #7049: P5.Graphics.remove() doesn't release all related resources by @iambiancafonseca in #7060
- fix: framebuffer cameras uses the size from main canvas by @Vishal2002 in #7075
- Fix vector reflect() mutating surface normal arg (#7088) by @nbogie in #7103
- Fix clipped multiline font rendering by @davepagurek in #7109
- fix: Correct default parameters for quad in y-direction by @Abhinavcode13 in #7129
- Fix: corrected variable name to reflect height instead of width by @Abhinavcode13 in #7132
- Fix panorama() by @davepagurek in #7154
Documentation
- Fix code snippet formatting in references by @nickmcintyre in #7089
- Fix more
code
tags in reference by @davepagurek in #7092 - Update: FES Messages in Japanese. by @shibomb in #7074
- Corrects the circle() description by @JulioGitLab in #7110
- Fix broken JsDoc comments by @Orasund in #7114
- Resolves issue #7118 - Update README.md & Changed the path for contributor docs by @ravixalgorithm in #7119
- Fix 'Learn' and 'Get Started' links in README.md by @NicholasGillen in #7126
- fixed: Broken link to dev_notes.md in the documentation by @Shahmaz0 in #7117
- "Fix Broken 'Get Started for Developers' Link in README" by @Souvik-Cyclic in #7151
- Update readme copy by @davepagurek in #6944
New Contributors 💗
- @JordanSucher made their first contribution in #7064
- @iambiancafonseca made their first contribution in #7060
- @Chaitanya1672 made their first contribution in #7096
- @rohanjulka19 made their first contribution in #7093
- @shibomb made their first contribution in #7074
- @Orasund made their first contribution in #7114
- @ravixalgorithm made their first contribution in #7119
- @Abhinavcode13 made their first contribution in #7129
- @NicholasGillen made their first contribution in #7126
- @Evorage0 made their first contribution in #7134
- @starzonmyarmz made their first contribution in #7140
- @Shahmaz0 made their first contribution in #7117
- @Souvik-Cyclic made their first contribution in #7151
Full Changelog: v1.9.4...v1.10.0
v1.9.4
What's Changed 🎊
Code
- Account for pixel density when masking images by @Papershine in #6788
- fix clearStorage function to match expected behaviour by @seralichtenhahn in #7006
- Fix broken test by @davepagurek in #7010
- textWrap() parameter validation uses FES instead of throwing error by @limzykenneth in #7009
- fix The constructor of p5.Table by @asukaminato0721 in #7011
- Fix autoSized for framebuffers by @davepagurek in #7012
- fix: add the missing index of
attributes
by @IronBlood in #7027
Documentation
- Add Japanese Version Contributor Docs by @RuimingShen in #6979
- Add missing backtick by @aGuyWhoMadeGames in #6996
- Fix default z value in p5.Camera::camera() docs by @davepagurek in #7001
- Fix 'p5.Vector.sub()' documentation mistakenly referencing 'add'ing by @bobbykaz in #7024
- Update structure references by @nickmcintyre in #7020
- Update more structure references by @nickmcintyre in #7021
- Fix foundation references by @nickmcintyre in #7022
- Update array references by @nickmcintyre in #7032
- Update conversion references by @nickmcintyre in #7033
- Update storage references by @nickmcintyre in #7034
- Update string references by @nickmcintyre in #7037
- Update IO references by @nickmcintyre in #7038
- Update time & date references by @nickmcintyre in #7039
- Update p5.XML references by @nickmcintyre in #7040
- Update rendering references by @nickmcintyre in #7041
- Fix map example by @PalumboN in #7036
- Update p5.Graphics references by @nickmcintyre in #7042
- Update p5.Geometry references by @nickmcintyre in #7045
- Update documentation_style_guide.md by @lottihill in #7053
- Patch-CORNER-descr-cx by @JulioGitLab in #7062
- Fix p5.Graphics.remove() reference by @nickmcintyre in #7057
- Fix links and typos by @nickmcintyre in #7058
- Update p5.Framebuffer references by @nickmcintyre in #7044
New Contributors 💗
- @RuimingShen made their first contribution in #6979
- @aGuyWhoMadeGames made their first contribution in #6996
- @Papershine made their first contribution in #6788
- @seralichtenhahn made their first contribution in #7006
- @bobbykaz made their first contribution in #7024
- @PalumboN made their first contribution in #7036
- @IronBlood made their first contribution in #7027
- @lottihill made their first contribution in #7053
- @JulioGitLab made their first contribution in #7062
Full Changelog: v1.9.3...v1.9.4
v1.9.3
What's Changed 🎊
Code
- Fix vertices with different texture coordinates in imported models getting collapsed by @davepagurek in #6923
- fixed parameters for normal() method by @kaiserarg in #6984
- Fix for gif not animating when drawing to p5.graphics by @kaiserarg in #6935
- add friendly error to createCapture() by @mdb0 in #6961
- Fix main canvas clipping getting applied to framebuffers by @davepagurek in #6990
Documentation
- Contributors docs cleanup by @limzykenneth in #6906
- Add short descriptions to contributor docs by @davepagurek in #6866
- Update contributor doc descriptions by @davepagurek in #6933
- Add doc on adding FES messages by @davepagurek in #6942
Reference
- Update keyboard event referenes by @nickmcintyre in #6932
- Update touch event references by @nickmcintyre in #6934
- Fix typo in touchStarted() by @nickmcintyre in #6938
- Update mouse event references by @nickmcintyre in #6937
- Update WebGL light references by @nickmcintyre in #6957
- Update WebGL interaction references by @nickmcintyre in #6955
- Update WebGL material references by @nickmcintyre in #6974
- Update p5.Shader references by @nickmcintyre in #6975
- Update p5.Camera references by @nickmcintyre in #6976
- Update 3D model references by @nickmcintyre in #6978
- Update vertex references by @nickmcintyre in #6981
- Update curve references by @nickmcintyre in #6985
- Update constant references by @nickmcintyre in #6986
- Update foundation references by @nickmcintyre in #6988
- Update transformation references by @nickmcintyre in #6991
- Update 3D primitive references by @nickmcintyre in #6980
Translation
- [p5.js - es] Translation of contributor_guidelines.md by @MarianneTeixido in #6895
- [p5.js KO] Create webgl_contribution_guide.md by @ienground in #6859
- [p5.js - zh] Update steward_guidelines.md by @Harrycheng233 in #6879
- [p5.js KO] steward_guidelines.md by @Orwiss in #6874
- Hindi translation of webgl contribution guide by @ranaaditya in #6886
- translation: Add
Steward Guidelines
documentation in Hindi by @EshaanAgg in #6887 - [p5.js KO] Create contributor_guidelines.md by @yunyoungJang in #6855
- hindi translation - contributing to p5.js reference added by @Surbhi-Pittie in #6890
- Fix: [p5.js - zh] Added contributor guidelines part 1 + 2 zh translations by @Tmicrd in #6903
- add: hindi translation of contributor guidelines by @jaiakash in #6892
- [p5.js KO] Update image path in contributing_to_the_p5.js_reference.md by @wooknick in #6916
- [p5.js KO] Update steward_guidelines.md by @Orwiss in #6918
- [p5.js KO]Update contributor_guidelines.md by @yunyoungJang in #6919
- Update contributing_to_the_p5.js_reference.md by @Harrycheng233 in #6948
- Update contributor_guidelines.md by @Harrycheng233 in #6946
- Update steward_guidelines.md by @Harrycheng233 in #6947
- Update webgl_contribution_guide.md by @Harrycheng233 in #6949
- [p5.js KO] Translate access.md by @Orwiss in #6951
- [p5.js HI]
access.md
and line 1 description translation to hindi by @jaiakash in #6950 - Update p5.Vector.js by @asukaminato0721 in #6831
- Update access.md by @Harrycheng233 in #6945
New Contributors 💗
- @MarianneTeixido made their first contribution in #6895
- @ienground made their first contribution in #6859
- @Orwiss made their first contribution in #6874
- @ranaaditya made their first contribution in #6886
- @EshaanAgg made their first contribution in #6887
- @yunyoungJang made their first contribution in #6855
- @Surbhi-Pittie made their first contribution in #6890
- @Tmicrd made their first contribution in #6903
- @jaiakash made their first contribution in #6892
- @kaiserarg made their first contribution in #6984
- @mdb0 made their first contribution in #6961
Full Changelog: v1.9.2...v1.9.3
v1.9.2
What's Changed 🎊
Code
- Fix for fill artifact in WebGL mode when rendering in LINE mode using beginShape by @RandomGamingDev in #6827
- Solves issue #4214 by @Garima3110 in #6734
- Solves issue #6787 by @Garima3110 in #6809
- Fix usage of default fonts by @davepagurek in #6861
- Enhancement limit WebGL textures to gl.MAX_TEXTURE_SIZE by @capGoblin in #6651
- .mtl files support for .obj files to render color in 3D custom geometry by @diyaayay in #6710
Documentation
- Nat Decker and Bobby Joe Smith III updated access.md by @natdecker in #6823
- Update WebGL architecture doc with edits by @davepagurek in #6791
- Convert FES doc updates + fix things that cause issues in mdx files by @davepagurek in #6832
- docs(styleguide): add section on chaining by @meezwhite in #6885
Reference
- Update accessibility references by @nickmcintyre in #6833
- Update environment references by @nickmcintyre in #6834
- Update color references by @nickmcintyre in #6835
- Update p5.Color references by @nickmcintyre in #6837
- Update calculation references by @nickmcintyre in #6842
- Update noise references by @nickmcintyre in #6843
- Update random references by @nickmcintyre in #6844
- Update createVector() reference by @nickmcintyre in #6846
- Update trigonometry references by @nickmcintyre in #6845
- Update p5.Element references by @nickmcintyre in #6849
- Update p5.Vector references by @nickmcintyre in #6848
- Update typography attribute references by @nickmcintyre in #6854
- Update p5.Font references by @nickmcintyre in #6862
- Update image load and display references by @nickmcintyre in #6864
- Update 2D shape references by @nickmcintyre in #6840
- Update shape attribute references by @nickmcintyre in #6841
- Update color references by @nickmcintyre in #6839
- Update pixels references by @nickmcintyre in #6865
- Update DOM references by @nickmcintyre in #6850
- Update image references by @nickmcintyre in #6863
- Update environment.js by @sphantom-code in #6877
- Update p5.Image references by @nickmcintyre in #6867
Translation
- [p5.js - es] Translate contributing_to_the_p5.js_reference by @ninioArtillero in #6871
- [p5.js - zh]Create contributing_to_the_p5.js_reference.md by @asukaminato0721 in #6869
- [p5.js KO] add korean translation of 'contributing_to_the_p5.js_reference.md by @wooknick in #6868
- [p5.js - zh] Create webgl_contribution_guide.md by @Harrycheng233 in #6878
- [p5.js - es] Translation of contributor_guidelines.md by @dianamgalindo in #6876
- [p5.js - zh] Added contributor guidelines part 1 + 2 zh translations by @douMax in #6881
- [p5.js - es] Translate steward_guidelines by @ml008008 in #6873
- [p5.js - es] Translation of steward_guidelines.md by @EmilioOcelotl in #6894
New Contributors 💗
- @natdecker made their first contribution in #6823
- @ninioArtillero made their first contribution in #6871
- @sphantom-code made their first contribution in #6877
- @wooknick made their first contribution in #6868
- @Harrycheng233 made their first contribution in #6878
- @dianamgalindo made their first contribution in #6876
- @douMax made their first contribution in #6881
- @ml008008 made their first contribution in #6873
- @EmilioOcelotl made their first contribution in #6894
Full Changelog: v1.9.1...v1.9.2
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 ...