@@ -178,16 +178,16 @@ option | type | default
178178** [ maxAlpha] ( #maxAlpha ) ** | ` Number ` | ` 1 ` | maximum alpha value of every particle
179179** [ minSize] ( #minSize ) ** | ` Number ` | ` 1 ` | minimum size of every particle
180180** [ maxSize] ( #maxSize ) ** | ` Number ` | ` 10 ` | maximum size of every particle
181- ** [ style] ( #style ) ** | ` String ` | ` fill ` | fill style of particles (one of; "fill", "stroke" or "both")
182181** [ bounce] ( #bounce ) ** | ` Boolean ` | ` false ` | should the particles bounce off edge of canvas
183182** [ drift] ( #drift ) ** | ` Number ` | ` 1 ` | the "driftiness" of particles which have a horizontal/vertical direction
184183** [ glow] ( #glow ) ** | ` Number ` | ` 0 ` | the glow effect size of each particle
185184** [ twinkle] ( #twinkle ) ** | ` Boolean ` | ` false ` | particles to exhibit an alternative alpha transition as "twinkling"
185+ ** [ style] ( #style ) ** | ` String ` | ` fill ` | fill style of particles (one of; "fill", "stroke" or "both")
186+ ** [ shape] ( #shape ) ** | ` String ` /` Array ` | ` circle ` | shape of particles (any of; circle, square, triangle, diamond, line, image) or "random"
186187** [ color] ( #color ) ** | ` String ` /` Array ` | ` random ` | css color as string, or array of color strings (can also be "random")
187188** [ randomColor] ( #randomColor ) ** | ` Function ` | ` randomHsl() ` | function for returning a random color when the color is set as "random"
188189** [ randomColorCount] ( #randomColorCount ) ** | ` Function ` | ` randomHsl() ` | function for returning a random color when the color is set as "random"
189- ** [ shape] ( #shape ) ** | ` String ` /` Array ` | ` circle ` | shape of particles (any of; circle, square, triangle, diamond, line, image) or "random"
190- ** [ imageUrl] ( #imageUrl ) ** | ` String ` /` Array ` | | if shape is "image", define an image url (can be data-uri, should be square (1:1 ratio))
190+ ** [ imageUrl] ( #imageUrl ) ** | ` String ` /` Array ` | | if shape is "image", define an image url (can be data-uri, ** should be square (1:1 ratio)** )
191191
192192---
193193
@@ -411,8 +411,9 @@ particle shape from an image when combined with `imageUrl`](#imageUrl).
411411Determine the custom image to be used for all the particles.
412412If an array of urls (` [ "http://my.image/shape.png", "http://my.svg/shape.svg" ] ` ) is given, then each particle
413413will be assigned a random image as it's shape from the array.
414+ <sup >** This image should be a square (1:1)** </sup >
414415
415- This only applies [ if the ` shape ` is set to ` "image" ` ] ( #shape ) .
416+ ` imageUrl ` only has an effect [ if a ` shape ` in the array is; ` "image" ` ] ( #shape ) .
416417
417418# methods
418419
0 commit comments