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