Difference between revisions of "Projective transformation matrix"

From JSXGraph Wiki
Jump to navigationJump to search
Line 49: Line 49:
 
         }
 
         }
  
         var txt = '';
+
         try {
        for (i = 0; i < 3; i++) {
+
            var txt = '';
            txt += mat_global[i].join(' ') + '\n';
+
            for (i = 0; i < 3; i++) {
        }
+
                txt += mat_global[i].join(' ') + '\n';
        document.getElementById('jxg_output').value = txt;
+
            }
 +
            document.getElementById('jxg_output').value = txt;
 +
        } catch (err) {};
  
 
     };
 
     };

Revision as of 12:13, 22 July 2020



The underlying JavaScript code