Landing Page: jscene.netlify.app
Documentation: jscene.netlify.app/api
To use JScene API, you need to download and reference JScene.js in the HTML file.
<script src="/path/to/JScene.js"></script>
Add the HTML <canvas> tag, which will be our 3D viewport.
<canvas id="canvas"></canvas>
Create a Scene object, then draw it to the canvas.
<script>
var canvas= document.getElementById('canvas');
var scene = new Scene();
var recur_depth = 5;//how many time lights can reflect between objects
render_canvas_native(canvas,scene,recur_depth);
</script>