pysted.temporal.NodesCombiner

class pysted.temporal.NodesCombiner

A NodesCombiner object is responsible to combine multiple Nodes object.

We store the combined objects into an objects list.

NodesCombiner.add_object(obj)

Allows to add a Nodes object to the NodesCombinator

NodesCombiner.apply_force(*args)

This method allows to apply a force on each nodes

NodesCombiner.apply_jitter(*args)

This method applies a jitter on each nodes

NodesCombiner.reset_force(*args)

This method allows to reset the force currently applied on each node

NodesCombiner.reset_speed(*args)

This method allows to reset the speed of each node

NodesCombiner.update(*args)

Updates the position of each node based on the current forces and speeds