I checked manim's method. I tried using ShowIncreasingSubsets.
from manimlib.imports import *
class test(Scene):
	def construct(self):
		points = []
		for x in range(-5, 6):
			points.append(Dot(point = np.array([x, 0.0, 0.0])))
		group = VGroup(*points)
		self.play(ShowIncreasingSubsets(group, run_time = 3.0))
		self.remove(group)
		self.wait()
https://www.youtube.com/watch?v=x5fCYTdwWys
that's all.
Recommended Posts