Any idea on how to make this?

How to make this in C++?
VIDEO