<html>
<body style="margin:0;">

<iframe id="myFrame" style="width:100%;height:100vh;border:0;" src="../" allow="camera"></iframe>

<script>
	window.addEventListener('load', function (e) {
		main();
	}, false);

	async function main() {
		var Layers = document.getElementById('myFrame').contentWindow.Layers;
		var config = document.getElementById('myFrame').contentWindow.AppConfig;

		var canvas_width = 800;
		var canvas_height = 600;

		//set size
		Layers.Base_gui.set_size(canvas_width, canvas_height);

		