3D simulation by TFmini lidar

The original poster formatted code and continued here:

Please continue there…