Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/lib/PointCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export class PointCanvas {
constructor(width: number, height: number) {
this.scene = new Scene();
this.renderer = new WebGLRenderer();
// this.renderer.setClearColor(0x808080, 1); // Set background to white

this.camera = new PerspectiveCamera(
35, // FOV
Expand Down Expand Up @@ -148,9 +149,9 @@ export class PointCanvas {

// this.scene.add(new AxesHelper(0.2));
this.setupAxesHelper();
if (deviceState.current.isPhone) {
this.toggleAxesHelper();
}
// if (deviceState.current.isPhone) {
this.toggleAxesHelper(); // axishelper always off by default in screenshots
// }

this.scene.add(this.points);
this.scene.fog = new FogExp2(0x000000, 0.0005); // default is 0.00025
Expand Down
Loading