p5.js
p5.js copied to clipboard
using typed array in noise.js
trafficstars
Changes:
src/math/noise.js: Using Float64Array instead of regular Array to reduce memory and optimize efficiency.
PR Checklist
- [x]
npm run lintpasses - [x] [Unit tests] are included / updated
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!