Download Latest Version p5.zip (5.5 MB)
Email in envelope

Get an email when there's a new version of p5.js

Home / v2.3.2
Name Modified Size InfoDownloads / Week
Parent folder
p5.esm.js 2026-07-30 4.3 MB
p5.js 2026-07-30 4.6 MB
p5.min.js 2026-07-30 990.4 kB
p5.zip 2026-07-30 5.5 MB
README.md 2026-07-30 947 Bytes
v2.3.2 Patch_ Path performance _ loading animation source code.tar.gz 2026-07-30 21.3 MB
v2.3.2 Patch_ Path performance _ loading animation source code.zip 2026-07-30 22.3 MB
Totals: 7 Items   58.9 MB 7

This patch improves 2D paths and adds a loading animation to display when setup() takes a long time.

@okra-sf reported how using beginShape/endShape with many vertex calls created slowdowns in v2 compared to v1. Work in https://github.com/processing/p5.js/pull/9025 on speeding up how paths are drawn included extensive benchmarking, and was reviewed by @davepagurek @VANSH3104 and @treerao

The loading animation was added in https://github.com/processing/p5.js/pull/8997 by @Jextic and @gojoshin as part of the CodeDay program, and reviewed by @limzykenneth and @ksen0

🎉 Thanks to all contributors & stewards!

Full Changelog: https://github.com/processing/p5.js/compare/v2.3.1...v2.3.2

Source: README.md, updated 2026-07-30