title: 3D model embedded in Canvas autorotation
body: <p>How exactly we could auto rotate the 3D model embedded within a canvas.</p>
  
  <p>Please find the implemented code below:</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>        &lt;canvas id="cv1" width=264 height=264&gt;
                  It seems you are using an outdated browser that does not support canvas :-(
          &lt;/canvas&gt;
  </code></pre>
  
  <p><strong>JavaScript:</strong></p>
  
  <pre><code>        &lt;script type="text/javascript" src="jsc3d.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="jsc3d.touch.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
              var viewer = new JSC3D.Viewer(document.getElementById('cv1'));
              viewer.setParameter('SceneUrl',         'Cupid Heart.obj');
              viewer.setParameter('ModelColor',       '#6F4E37');
              viewer.setParameter('BackgroundColor1', '#D2B48C');
              viewer.setParameter('BackgroundColor2', '#964B00');
              viewer.setParameter('RenderMode',       'flat');
              viewer.init();
              viewer.update();
          &lt;/script&gt;
  </code></pre>
  
  <p>I have checked many other posts but its not working. Your help is highly appreciated.</p>
  
  <p><strong>Updated:</strong></p>
  
  <p>Can it be fixed by CSS?</p>