Get started Docs Downloads Community About Download Get Started // Nidium is about building graphical applications // canvases are the main building block var c = new Canvas(100, 100); document.canvas.add(c); // You can position and align them c.left = 250; c.top = 125; c.position = "absolute"; // And also use the W3C Canvas2DContext API var ctx = c.getContext("2d"); ctx.fillStyle = "blue"; ctx.fillRect(0, 0, 100, 100); // Nidium also supports WebGL // It ships with a minimal HTML5 compatibility module, allowing you // to use some popular JS librarires such as Three.JS out of the box. load("three.js"); var ratio = window.innerWidth / window.innerHeight; var camera = new THREE.PerspectiveCamera(70, ratio, 1, 1000); camera.position.z = 400; var scene = new THREE.Scene(); var geometry = new THREE.BoxBufferGeometry(200, 200, 200); var ...