pysted.temporal.Nodes
- class pysted.temporal.Nodes(nodes, parent=None)
A
Nodes
object is responsible to interact with a list of nodes and apply different forces or jitters to the a single nodeNodes.add_node
(node[, pos])Methods that implements adding a node to the current nodes.
Nodes.apply_force
([mean, std, field])This method allows to apply a
force
on each nodesNodes.apply_jitter
([mean, std])This method allows to jitter the position of each nodes.
Reset the current
force
that is being applied on all nodesReset the current
speed
that is being applied on all nodesShould be implemented in the supered classes
Updates the position of each node based on the current forces and speeds