<!doctype html>
<html>
	<head>
		<style>
			body {
				background-color: #222;
			}
			body, html {
				width: 100%;
				height: 100%;
				margin: 0;
			}
			canvas {
				width: 100%;
				height: 100%;
				display: block;
				margin: 0;
				padding: 0;
			}
		</style>
	</head>
	<body>
		<canvas id="constellation">
		</canvas>
		<script src="js/constellation.js"></script>
	</body>
</html>
<!doctype html>
<html>
	<head>
		<style>
			body {
				background-color: #222;
			}
			body, html {
				width: 100%;
				height: 100%;
				margin: 0;
			}
			canvas {
				width: 100vw;
				height: 100vh;
				display: block;
				margin: 0;
				padding: 0;
			}
		</style>
	</head>
	<body>
		<canvas id="constellation">
		</canvas>
		<script src="js/constellation.js"></script>
	</body>
</html>

Use window size to scale the canvas
Use window size to scale the canvas
