Physics, Science, Programming, Deep Dives, Thoughts And Theory.
set_velocity(self,velocity): self.velocity=np.array([v_i for v_i in velocity]) def set_color(self,color): self.color=color def set_mass(self,mass): self.mass=mass #Getters for position, velocity, mass and color def get_position(self): return self.position def get_velocity(self): return