Skip to content

v2.0-pre-5

Pre-release
Pre-release
Compare
Choose a tag to compare
@benlmyers benlmyers released this 10 Apr 09:04
· 4 commits to main since this release

Thank you for using Particles!

Check out our new discussion page!

Changes in Pre-Release 5:

  • Added a new hugging: parameter to Lattice, which allows Lattice particles to 'hug' specified edges of a view.
  • Added .drag(_:), .drag(with:), and drag(in:) modifiers for particle deceleration.
  • Added .zIndex(_:), .zIndex(with:), and .zIndex(in:) modifiers for particle layering.
  • Added .delay(_:), .delay(with:), and .delay(in:) modifiers for particle appearance delay.
  • Added ParticleSystem.Data.touches, allowing particle systems to integrate touch interaction (iOS only)
  • Added .colorOverlay(from:to:) for random color via lerp and .colorOverlay(with:) for refined control
  • Added .glow(from:to:radiusIn:) for random glow via lerp and .glow(withColor:withRadius:) for refined control
  • Added a Comet preset.
  • Added a watchOS example app target.
  • Fixed issues with .emitSingle() not working when emitting Lattice particles.
  • Fixed issues with ParticleSystem view stuttering.
  • Fixed several issues with presets displayed in the example app.
Lattice hugging parameter