r3-v2/dist/index.html

30 lines
694 B
HTML

<!doctype html>
<html>
<head>
<title>Getting Started</title>
</head>
<body>
<div id="log">
</div>
<script>
(function () {
var logger = document.getElementById('log');
console.log = function (message) {
if (typeof message == 'object') {
logger.innerHTML += (JSON && JSON.stringify ? JSON.stringify(message) : message) + '<br />';
} else {
logger.innerHTML += message + '<br />';
}
}
})();
</script>
<script src="r3.js">
</script>
<script type="application/javascript">
window.addEventListener("load", function(){
let object = new R3.Canvas();
});
</script>
</body>
</html>