An implementation of the SLAM algorithm simulation using Python - applicable to self-driving robots.
In this demo, the robot (my mouse's cursor in this scenario) discovers its environment as it explores its surroundings.
Notice how at the beginning the robot (cursor) isn't aware of any obstacles or walls, but as it moves it gradually identifies the walls and obstacles in this floor plan until it has explored everywhere, and thus completely mapped it's surrounding.