Open chloesun opened 4 years ago
Is it possible to make the canvasWidth and canvasHeight a responsive size based on the screen width/height?
canvasWidth
canvasHeight
export const sampleNavCubeSettings = { canvasId: "myNavCubeCanvas", visible: true, cameraFly: true, cameraFitFOV: 45, cameraFlyDuration: 0.5, canvasWidth: 250, canvasHeight: 250 };
Is it possible to make the
canvasWidth
andcanvasHeight
a responsive size based on the screen width/height?