Better CalcPlot3D rotation

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).

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Better CalcPlot3D rotation
// @namespace    https://c3d.libretexts.org/CalcPlot3D/index.html
// @version      0.2
// @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
// @license      MIT
// ==/UserScript==

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