Skip to content

v0.8.0

Latest

Choose a tag to compare

@josephmiclaus josephmiclaus released this 21 Jan 18:35

🏖️ p5.grain.quicksand

Added

  • Added support for p5.Image in applyMonochromaticGrain, applyChromaticGrain, tinkerPixels and loopPixels
  • Added support for p5.Graphics in textureOverlay
  • Added config.randomMode option in setup(config) to choose integer or floating-point internal random numbers (default: float)
  • Added a new build scripts, now compatible with Ubuntu and most Linux distributions
  • Added npm run sync:p5 to sync a new p5.min.js version placed at the root directory across all examples
  • Added a GitHub Actions workflow for automatic npm publishing

Changed

  • Improved performance in applyMonochromaticGrain and applyChromaticGrain using Uint32Array
  • Added two package builds:
    • Full version with error handling: p5.grain.js / dist/p5.grain.min.js
    • Lite version without error handling: p5.grain.lite.js / dist/p5.grain.lite.min.js
  • Changed distribution builds to use terser
  • Improved error messages and warnings
  • Changed repository and npm ownership
  • Updated LICENSE and package metadata

Full Changelog: v0.7.0...v0.8.0