Calculating circuit coords

I want to create dashed polyline as circle outline. To do this I’ve written something like this:

  for (let i = 0; i < 360; i++) {
    let radians = Cesium.Math.toRadians(i);
    let point =  new Cesium.Cartesian3(
        distance * Math.cos(radians) + position.x,
        distance * Math.sin(radians) + position.y,

The problem is that circuit generated by this code isn’t perfectly rounded but it’s flattened. I think position.x is problematic here, because when I remove it from calculation then circle is fine but it isn’t in position I want it to be. Please tell me where I’m making a mistake.