You’re going to get a different result everytime you run this code.
First, the start time is not constant. Th following line will default to the current system time:
var startTime = viewer.clock.startTime;
``
And secondly, the color and the positions of the lines are generated randomly:
var color = Cesium.Color.fromRandom({
alpha : 1.0
});
var stopLon = Cesium.Math.nextRandomNumber() * 358 - 179;
var stopLat = Cesium.Math.nextRandomNumber() * 178 - 89;
``
If you want it to be consistent, set the clock start time to a specific datetime, and make sure you set the seed of the random generator to something consistent using CesiumMath.setRandomNumberSeed.