I am new to new features of HTML5.
Is it possible to embed existing webgl page to my page?
Am I going to the right direction?
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script>
var camera, scene, loader;
function init() {
scene = new THREE.Scene();
camera = new THREE.perspectiveCamera();
loader = new THREE.ImageLoader("http.......");
scene.add(camera);
scene.add(loader);
}
</script>
Thanks