const isHoloJs = typeof navigator.holojs!== 'undefined';
const canvas = document.createElement(isHoloJs? 'canvas
' : 'canvas');
const ctx = canvas.getContext('2d');

const width = window.innerWidth;
const height = window.innerHeight;

const canvasWidth = width;
const canvasHeight = height;

const canvasRatio = canvasWidth / canvasHeight;