Skip to content

Releases: SableRaf/p5.millefeuille

Release v0.2.1-alpha

07 Dec 18:51

Choose a tag to compare

Release Notes for v0.2.1-alpha

🎁 Prepared for distribution

  • Included .npmignore to exclude development and test files from npm package
  • Updated repository URL in Rollup configuration
  • Added built distribution files to version control
  • Added source maps
  • Revised README with updated installation instructions and feature descriptions
  • Updated package.json metadata for npm
  • Enhanced documentation and instructions

✨ Examples & Demos

  • Blend Modes Example:
    • Enhanced with smoother background texture using shader
    • Added global blend mode UI controls
  • Live Thumbnails Demo:
    • Added thumbnail update interval control
    • Optimized buffer readback for performance

🔧 Maintenance

  • Cleaned up project files (removed p5.millefeuille.zip)

Commits: 19 commits from v0.2.0-alpha to v0.2.1-alpha

Full Changelog: v0.2.0-alpha...v0.2.1-alpha

Millefeuille 0.2.0 (alpha)

23 Nov 22:49

Choose a tag to compare

This update brings enormous performance improvement to auto-updating thumbnails by avoiding GPU readbacks.

✨ New Features

  • Full-window resize support - Layers and compositor buffers now automatically track canvas size and pixel density changes when using windowResized() and resizeCanvas()
  • Custom layer sizing - New customSize flag protects layers with custom dimensions from auto-resize
  • GPU-accelerated thumbnails - Thumbnail capture now uses GPU-to-GPU downsampling, reducing framebuffer readback from ~8MB to ~150KB
  • Thumbnail update controls - New options thumbnailAutoUpdate and thumbnailUpdateEvery for configuring automatic thumbnail refresh cadence
  • New example - Added full-window resize example demonstrating responsive canvas behavior

🧪 Testing

  • Added comprehensive tests for LayerUI thumbnail configuration scenarios
  • Added tests for LayerSystem resize behavior

Full Changelog: v0.1.0-alpha...v0.2.0-alpha

Millefeuille 0.1.0 (alpha)

23 Nov 15:25

Choose a tag to compare

Initial release.

  • Photoshop-style layer system for p5.js WebGL, built atop p5.Framebuffer with intuitive layer lifecycle APIs (createLayer, begin/end, render, etc.).
  • Layer properties and controls: visibility, opacity, z-index, blend modes, auto-resize, masking with framebuffers or images, plus fluent chaining.
  • Compositor overhaul using GLSL blend functions and ping-pong buffers, enabling consistent shader-based compositing across all layers.
  • Expanded shader-based blend mode suite using glsl-blend: Normal, Multiply, Screen, Add, Subtract, Overlay, Soft Light, Hard Light, Color Dodge, Color Burn, Darken, Lighten, Difference, Exclusion.
  • LayerUI helper and LayerSystem validation to guard against improper WebGL usage, nested begins, and invalid layer references.
  • Tutorials and examples (basic layering, blend modes, masking) to showcase common workflows.
  • Jest-based test harness with canvas/shader mocks to ensure framebuffer lifecycle, property handling, and compositing logic remain stable.