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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 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");
});