Procedural atlas of 2 Skybox textures is generated in offscreen canvas2d. Two random angles evenly distributed on (-π/4, π/4) are used to calculate "stars" x and y coordinates. See the page source for details. One Skybox texture.
WebXR samples     updated 26 Apr 2020