Skip to content
party.js logoparty.js logo

ReferenceParticlesInterface

PolygonShape

Draws a particle as a regular polygon.

A regular polygonal shape, centered at (0, 0), with a specified number of sides.

sidesnumber

The number of sides the regular polygon should have, which is expected to be an integer >= 3.

type"polygon"