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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==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");
});