How to draw an upright circle

One thing that may be helpful here is looking at how CoplanarPolygonGeometry does it: https://cesium.com/docs/cesiumjs-ref-doc/CoplanarPolygonGeometry.html?classFilter=Cop.

Normally any polygon you create will be parallel to the surface of the Earth. This class was created to allow polygons to be created in any arbitrary plane.