pysted.temporal.Polygon.apply_force

Polygon.apply_force(mean=0.0, std=0.1, field=None)

This method allows to apply a force on each nodes

Parameters:
  • mean – The mean parameter of the normal function to calculate the force

  • mean – The std parameter of the normal function to calculate the force

  • field – (Optional) A numpy.ndarray of the force field