Better CalcPlot3D rotation

Implement better (not about a point, but about the z-axis) rotation for CalcPlot3D.

As of 2021-11-03. See the latest version.

// ==UserScript==
// @name         Better CalcPlot3D rotation
// @namespace    https://c3d.libretexts.org/CalcPlot3D/index.html
// @version      0.1
// @description  Implement better (not about a point, but about the z-axis) rotation for CalcPlot3D.
// Also toggles Edges off by default for better performance (can be enabled again by pressing E or via the UI).
// @author       Henry Ruben Fischer
// @match        https://c3d.libretexts.org/CalcPlot3D/index.html
// @icon         https://c3d.libretexts.org/CalcPlot3D/CalcPlot3D.ico
// @grant        none
// ==/UserScript==

$(document).ready(function() { //When document has loaded
    location.assign("javascript:Calc3D.mi.prototype.oldN = Calc3D.mi.prototype.N,"+
        "Calc3D.mi.prototype.N=function(a,b,c){this.wI(b/200),this.oldN(1,0,a/200)},"+
        "Calc3D.Sc.zh = !Calc3D.Sc.zh");
});