Skip to content

Releases: VincentGarreau/particles.js

2.0.0

09 May 22:11
Compare
Choose a tag to compare

New features

• New calling function: load json config
• Support multiple particles.js on a same page
• Custom shape image (svg, png, jpg...)
• Custom shape polygon (include star, with custom number sides)
• Stroke shape
• Support RGB and HSL color
• Array selection for color_random (HEX values)
• Opacity random particles
• Animation size / opacity particles
• Bounce effect (out mode + between particles)
• Custom moving direction / straight mode
• New « bubble » mode interaction (hover + click)
• New « repulse » mode interaction (hover + click)
• Support multi modes on hover / click event

Fixes / Optimizations

• Better performance (on Firefox, line linked process…)
• Distance / opacity line_linked
• Improve merge paramaters
• Opacity on color random / array particles
• Edge shape position
• Equilateral triangle shape
• Add packages : npm, Rails Assets, Meteor
• Refresh canvas on click event / anim disabled
• Rounded linked line
• Line linked opacity on hover event
• Grab mode fixes

1.1.0

09 May 19:00
Compare
Choose a tag to compare

New features

• density_auto on resize event (number of particles depending on canvas area)

pJS.interactivity.onresize = {
  density_auto: boolean,
  density_area: number // number of particles = pJS.particles.nb * (canvas width *  canvas height / 1000) / density_area
}

• modes on resize event

pJS.interactivity.onresize.mode = 'out' or 'bounce'

• color random particles

pJS.particles.color_random = boolean

• opacity animation particles

pJS.particles.opacity.anim = {
  enable: boolean,
  speed: number,
  opacity_min: number,
  sync: boolean
}

Fixes / Optimizations

• destroy function: fix console error (pJS)
• pushParticles / removeParticles functions
• resize window listener

1.0.3

19 Nov 19:48
Compare
Choose a tag to compare

Fixes / Optimizations

  • interactivity mouse position on Firefox
  • set correct pixel ratio for retina displays
  • triangle particle positioning

1.0.2

16 Nov 15:56
Compare
Choose a tag to compare

New features

  • push / remove particles on click (new config param)

Fixes / Optimizations

  • position on mousemove

1.0.1

15 Nov 23:58
Compare
Choose a tag to compare

New features

  • push particles on click
  • set opacity of interactive lines
  • destroy method

Fixes / Optimizations

  • various code optimizations

1.0.0

12 Nov 19:50
Compare
Choose a tag to compare

First release.