Difference between revisions of "Projective transformation matrix"

From JSXGraph Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<html>
 
<html>
<pre id="jxg_output" cols="50" rows="20"></pre>
+
<h1 id="jxg_output"></h1>
 
</html>
 
</html>
  
Line 56: Line 56:
 
             var txt = '';
 
             var txt = '';
 
             for (i = 0; i < 3; i++) {
 
             for (i = 0; i < 3; i++) {
                 txt += mat_global[i].join(' ') + '\n';
+
                 txt += mat_global[i].join(' ') + '<br>\n';
 
             }
 
             }
             document.getElementById('jxg_output').value = txt;
+
             document.getElementById('jxg_output').innerHTML = txt;
 +
            console.log(txt);
 
         //} catch (err) {};
 
         //} catch (err) {};
  

Revision as of 12:16, 22 July 2020

The underlying JavaScript code