What's Changed 🎉
- Update .all-contributorsrc by @anniemckinnon in #5342
- Rename
Lights, Cameramodule to3Dby @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
aMaterialColorattribute toaVertexColorby @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 @aferriss in #5555
- resolves issue #5421 by @reejuBhattacharya in #5572
- docs: add beaumu as a contributor for doc by @allcontributors in #5573
- fixes issue #5574 by @reejuBhattacharya in #5575
- Allow settings object for p5.Texture by @aferriss in #5557
- FES ko new translation file + en file minor updates by @almchung in #5581
- Update inline documentation to use describe() instead of @alt | resolves #5139 by @lm-n in #5140
- docs(src/color/): Use
describe('…')over@altby @Zearin in #5577 - Bump cached-path-relative from 1.0.2 to 1.1.0 by @dependabot in #5582
New Contributors 💗
- @N4M3L355 made their first contribution in #5345
- @eltociear made their first contribution in #5375
- @guilhermesilveira made their first contribution in #5356
- @anagondesign made their first contribution in #5382
- @WayGuan made their first contribution in #5394
- @malviys made their first contribution in #5366
- @niki-ito made their first contribution in #5399
- @aditya-siddheshwar made their first contribution in #5418
- @katiejliu made their first contribution in #5425
- @jhongover9000 made their first contribution in #5426
- @michaeleggers made their first contribution in #5437
- @camilleroux made their first contribution in #5444
- @aaronccasanova made their first contribution in #5461
- @IamEzio made their first contribution in #5492
- @reejuBhattacharya made their first contribution in #5480
- @Zearin made their first contribution in #5500
- @frigorific44 made their first contribution in #5484
- @willmartian made their first contribution in #5479
- @beaumu made their first contribution in #5566
- @Gaweph made their first contribution in #5569
Full Changelog: v1.4.0...v1.4.1
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.frustumdocumentation on reference page norenderclass 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
You can find all of our contributors in our ReadMe.
- Merge pull request #5060 from ShenpaiSharma/Issue_#5046 9722a0d
- Merge pull request #5123 from processing/all-contributors/add-b4ux1t3 a509c43
- Merge pull request #5122 from b4ux1t3/small-typo 4274827
- Added missing space. c84dae0
- Merge pull request #5106 from JuanIrache/main 02416f3
- Merge pull request #5107 from micuat/add-version-const a1ce015
- Merge pull request #4989 from fal-works/fix/inline-docs 68ac2be
- Merge pull request #5103 from duskvirkus/gl-stroke-bug-fix 4c194ec
- catch crashes of fetch when loading image 5fa7ca9
- docs: add @params tag to windowResized() d46e5b9
- docs: revert changes in event handler functions remove @return tags (see #4988) 485dc36
- docs: revert changes in windowResized() remove description about "return false" remove @param, @return tags (see #4988) 81499b8
- adding unit tests for p5.RendererGL.prototype.ellipse and p5.RendererGL.arc 105e0e8
- fixing bug for drawing ellipse/arc with detail higher than 50 and improving documentation for ellipse/arc arguments e395827
- Merge pull request #5090 from msub2/main 3e1eae2
- Merge pull request #5093 from lawreka/revert-hyphenation 19fa310
- remove word breaks and hyphenation 7368adb
- Using offscreen canvas to extract the pixel data of webgl canvas using CanvasRenderingContext2D. 7240ce6
- Merge pull request #4642 from outofambit/fix-ie11-support 6fe2d80
- Add check for TypedArrays in applyMatrix 1855756
- Merge pull request #5084 from Aloneduckling/correct-style-example 55af036
- Merge pull request #4756 from TakumaKira/main 39b4fd7
- Changed the styles of dom-style examples 1983eed
- Fixes tint in 2d canvas with webgl p5.Graphics 27fb4ac
- docs: improve inline docs of key event handlers add @param
[event]df8a3ca - docs: improve inline docs of event handler funcs add @return as they may
return falseb7123bc - docs: improve inline docs of
windowResized()add description aboutreturn false, add @param[event]8a2a4dc - docs: fix inline docs of
int()paramradixwas missing 3d965b4 - White dot with a small radius is not entirely white. 881cfa3
- Allow drawing point with large scale and small strokeWeight. dc9ab8f
- White dot with a small radius is not entirely white. 1fc9668
- Allow drawing point with large scale and small strokeWeight. 0864adb
- removing empty-example link to p5.sound until load functionality is fixed closes #5068 1b93190
- adding note about textFont return type closes #4926 02c7eb1
- adding note about p5 editor to getURL methods closes #5035 7fda84a
- adding note about cumulative mask property to mask closes #5012 d4aec1a
- removing unnecessary backslash in blendmode documentation closes #5042 85dc5a0
- fixing some npm vulnerabilities 6407fbf
- Merge branch 'main' of github.com:processing/p5.js into main f8cd935
- Merge pull request #5073 from processing/dependabot/npm_and_yarn/elliptic-6.5.4 8fb8c93
- Merge pull request #5069 from meodai/main a20779d
- Merge pull request #5075 from processing/all-contributors/add-Aloneduckling 336389a
- docs: update .all-contributorsrc [skip ci] 298be5b
- Merge pull request #5071 from Aloneduckling/p5js-camera-docs e6b7382
- docs: update README.md [skip ci] 5ec2075
- Merge pull request #5074 from processing/all-contributors/add-msub2 7ad3311
- Merge pull request #5072 from msub2/main c212eab
- docs: update .all-contributorsrc [skip ci] 9d87b3f
- docs: update README.md [skip ci] 6290db3
- these changes are in response to PR comments d4db58a
- Bump elliptic from 6.5.3 to 6.5.4 a33b059
- Remove unused parameters, updated inline examples e913f92
- applyMatrix now accepts an array as the first argument 873ef63
- make the example readonly by adding norender class 56a968c
- replaces the minified version of p5.sound with the plain one in the demo 78b8d37
- add examples and docs for centerX/Y/Z and upX/Y/Z 8fb358e
- add documentation for eyeX, eyeY, eyeZ properties 8082db1
- Merge pull request #5055 from satyasaibhushan/remove_space_under_foundation_section a8afd77
- mention camera opbect properties in the docs bbe0a71
- Merge pull request #5063 from processing/saveFrame-typo acf5f8f
- fix typo on saveFrames c77db0e
- Merge pull request #5062 from processing/all-contributors/add-sosunnyproject 81d87b3
- docs: update .all-contributorsrc [skip ci] fce32ef
- docs: update README.md [skip ci] e0b15da
- docs: add jcelerier as a contributor (#5059) f1010c1
- docs: add vulongphan as a contributor (#5058) 3d83877
- update lights function to handle non-RGB color modes (#5049) be51645
- added submodule to Foundation section in reference to remove inconsistencies in spacing cefdcd7
- Merge pull request #5052 from rt1301/#5045-filter-doc f81bb70
- feat:updated p5.Image filter() methods docs 435c321
- Merge pull request #1 from processing/main a82db0f
- Merge pull request #5041 from processing/all-contributors/add-satyasaibhushan bb4ba44
- docs: update .all-contributorsrc [skip ci] 60eeae8
- docs: update README.md [skip ci] b30e5c9
- delete duplicate "tool" and fix link to avatar 39fcd6e
- delete comma to fix it a82557a
- Fixed link to Mozilla JS practices eb9b15a
- Merge pull request #5033 from Prateek93a/update-unit-testing-doc a765b36
- Merge branch 'hdcola/main' into main 396907d
- Edit Chinese translation of contributor documentation 4f878bc
- Update unit_testing.md a8abe64
- Merge pull request #5028 from nakednous/patch-1 0fb9474
- Update .all-contributorsrc e248e41
- Merge pull request #5026 from processing/all-contributors/add-ShenpaiSharma 2861c2c
- docs: update .all-contributorsrc [skip ci] cefcfab
- docs: update README.md [skip ci] 5c50ff7
- Merge pull request #5025 from ShenpaiSharma/Issue_#5014 c86c76c
- Added comment to explain default 10FPS b933baf
- Changed frameInfo.delay value whent it is equal to 0 0002ceb
- Merge pull request #4996 from weslord/static-normalize 5db68fb
- Merge pull request #5013 from PandaBalls/main f2f8bb1
- Merge pull request #5020 from processing/all-contributors/add-myselfhimself 0261e25
- Merge pull request #5017 from myselfhimself/patch-1 c2c8992
- docs: update .all-contributorsrc [skip ci] a4e7cf5
- docs: update README.md [skip ci] 01b5f7b
- #4866 V texture coordinate inversion on OBJ loadModel 2b6302d
- fix saveTable() issue 46b7e95
- translation into Chinese ae90c37
- Merge pull request #5008 from processing/add-self-as-steward 23db9e6
- added myself as steward 4218dd1
- Add self as steward 5b16ce0
- Merge pull request #5003 from choxi/offscreen-render-bug 35f2312
- Fixes offscreen rendering bug 4b146e4
- Add tests for p5.Vector.normalize() 4143134
- Add static version of Vector.normalize() 3d34b2e
- Make p5.Vector.mag() comments consistent with others 18dbd51
- Merge pull request #4986 from siv2r/patch-1 9688687
- Update .all-contributorsrc 426b693
- Merge pull request #4979 from Aloneduckling/DOM-examples-corrected f326680
- Merge pull request #4972 from siv2r/static-rotate 2c1a693
- Merge pull request #4984 from limzykenneth/color_toString 49f2a51
- Fix typo in color toString method 8d7a063
- Merge pull request #4981 from processing/all-contributors/add-frappelatte28 c1da5e2
- docs: update .all-contributorsrc [skip ci] a6ac09c
- docs: update README.md [skip ci] fa1264f
- improved checks for static p5.Vector rotate() 0b89c6f
- Merge branch 'main' into DOM-examples-corrected efcfe58
- better checks for rotate (static function) b5abddd
- Merge pull request #4819 from Aloneduckling/add-DOM-example 54b6f0b
- removed no render class, and corrected the styling of DOM examples for better display 48d309c
- added example for rotate func (static implementation) f25907b
- removed addtional param description for angle 2ab9ab1
- added rotate (static function) for p5.Vector 998d10c
- Merge pull request #4901 from Vamoss/main 8741583
- Merge pull request #4963 from processing/all-contributors/add-siv2r 176bf5d
- docs: update .all-contributorsrc [skip ci] 95240ab
- docs: update README.md [skip ci] bd382c1
- Merge pull request #4962 from siv2r/fix_typos-inline_documentation f77c8e6
- remove smooth option from quad function (original restored) df81685
- Merge branch 'main' of https://github.com/processing/p5.js into main 253eec5
- added npm run before grunt c709728
- renamed yuidoc-p5-theme-src to yuidoc-p5-theme 321cfe3
- fixed broken link daf4605
- changed definition to description f4a5e1f
- added line break before the template image e8b9dc7
- Merge pull request #4959 from limzykenneth/pupeteer-update 174e579
- Add linux sandbox flag to puppeteer command e9f04db
- Update puppeteer to latest version 94e99fd
- Merge branch 'main' of https://github.com/processing/p5.js into main 549133f
- Smooth Quad Distortion (relates to #4288) 75b8afd
- examples now showing, removed spaces which caused error during build 2155745
- removed norender class, DOM examples now working ea6fc59
- standardize documentation formatting
- translation of contributor docs
- expand FES coverage
- add i18n for FES parameter validation
- remove parameterData from minified library
- bug fixes for saveGIF, DOM, webgl methods
- expand unit test coverage
- add ssv option for loadTable
- add fileType param to loadModel
- fixes to build process