1.0.7 • Published 7 years ago

particle.js v1.0.7

Weekly downloads
58
License
ISC
Repository
github
Last release
7 years ago

particle.js Build Status

How to use?

Example:

npm install particle.js --save
import particleJS from 'particle.js'

new particleJS({
  element: 'canvas',
  imagePath: '/images/logo-float.png',
  cropStartPointX: 0,
  cropStartPointY: 0,
  cropX: 60,
  cropY: 30,
  startingPointX: 30,
  startingPointY: 15,
  destinationX: 0,
  destinationY: 0,
  duration: 300,
  pointOffsetEnable: false,
  pointOffsetLevel: 4,
  timeOffsetLevel: 100,
  spacingEnable: false,
  spacingLevel: 2
}).render();

Just new an object, then pass your arguments. Have fun!

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago