the Engine instance that will be used for calculating the Absorber interactions
the Container engine using the absorber plugin, containing the particles that will interact with this Absorber
the Absorber source options
Optionalposition: ICoordinatesthe Absorber optional position, if not given, it will be searched in options, and if not available also there, a random one will be used
The absorber color
The absorber size limit
The absorber mass, this increases the attraction force
Optional ReadonlynameThe absorber name, useful when retrieving it manually
The absorber opacity
Readonly InternaloptionsGets the absorber options
The absorber position
The absorber size, great size doesn't mean great mass, it depends also on the density
Absorber attraction interaction, attract the particle to the absorber
the particle to attract to the absorber
the delta time of the frame, used for calculating the force between the particles and the absorber
The draw method, for drawing the absorber in the canvas
the canvas 2d context used for drawing
The resize method, for fixing the Absorber position
The absorber constructor, initializes the absorber based on the given options and position