Node
class Node(var position: Vector2, var prevPosition: Vector2, var velocity: Vector2, var inverseMass: Double = 1.0, var radius: Double = 0.0, var id: Int = 0)(source)
Represents a single physical node with position, velocity, and related properties.
A node serves as an element in simulations, with attributes including its current position, previous position, velocity, inverse mass, radius, and a unique identifier. These properties define the motion and interaction of the node with forces or other nodes in the simulation.