跳到正文

Calculus

作者:hooneybAdgers

Learn Calculus!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。


3D in-world graphing of Riemann sums, solids of revolution, and the disk / washer / shell methods. Drop a block, type a function, watch the integral come to life.

Place the Graph Block, right-click to enter a function and bounds, and a textured 3D figure rises out of the block — slices, disks, shells, or a full solid of revolution around any axis. Right-click the block with cobblestone (or anything else) and the figure repaints in that block’s texture, tiled across the slices like one continuous wall. Build to teach, decorate, or just see what sin(x*pi) * exp(-x/3) actually looks like in three dimensions.


✨ Features

  • Seven visualization methods: Riemann (left/right/mid), Trapezoid, Disk, Washer, Shell, and a generalised Solid of Revolution around any horizontal or vertical line
  • Full math parser — trig, inverse trig, hyperbolic, sqrt, cbrt, abs (with |x| syntax), floor/ceil/round/sign, two-arg pow/atan2/min/max/hypot/mod/log(a, base), plus constants pi, tau, e, phi
  • Right-click with any block in hand to repaint the figure with that block’s texture (tinted correctly so leaves stay green, redstone stays red, etc.)
  • Texture tiles per world unit — slices share one continuous “wall” of the chosen block instead of each showing its own copy
  • Slice fill and trace line colours both configurable as hex
  • Opaque, depth-writing geometry — slices stack correctly from every angle
  • Auto-rotate with adjustable speed (degrees/sec, signed for direction); pause and resume from the exact same angle
  • Configurable X / Y scale, slice count (1 – 256), and toggleable axis lines + curve overlay
  • Graph automatically lifts above the block when the function dips below zero so you can see the part below the y-axis
  • Scrollable in-world configuration screen with live Enter-to-apply; auto-rotate toggle applies instantly
  • Sneak-right-click cycles methods inline without opening the menu

📖 How to use it

  1. Place the Graph Block.
  2. Right-click empty-handed → opens the configuration screen. Set f(x), bounds a & b, slice count, scale, fill / trace colors, method, and rotation. Press Enter or Done.
  3. Sneak-right-click → cycles the method inline (Riemann → Trapezoid → Disk → Washer → Shell → Revolve).
  4. Right-click holding a block → that block’s texture paints onto the figure, tiled across slices like one continuous wall. Right-click holding the Graph Block itself to clear the texture override.
  5. Mouse wheel in the menu scrolls through the form (it never accidentally cycles a setting).

❓ FAQ

What math syntax is supported?
Operators: + - * / ^ %, parentheses, |x| for absolute value. 

Functions: sin/cos/tan/sec/csc/cot, their inverses,

Hyperbolics: exp/ln/log/log2, sqrt/cbrt/abs/floor/ceil/round/trunc/sign,

Two-arg: pow/atan2/mod/max/min/hypot/log(a,base). Constants: pi tau e phi. The variable is always x.

How do I revolve a region around a non-zero axis?
Pick the Solid of Revolution method, set f(x) = top curve, g(x) = bottom curve, rev axis = horizontal or vertical, and rev offset c = the line’s offset. e.g. f = sqrt(9 - x^2), g = 0, axis = horizontal, c = -2 gives a hemisphere shifted up by 2.

Can I add this to my modpack?
Yes.


🐛 Bugs & Support

Report issues on the GitHub issue tracker. Please include the loader (Fabric / NeoForge), MC version, the function string you typed, and a latest.log.

常见问题

Calculus 支持哪些 Minecraft 版本?

Calculus 支持 Minecraft Java 版 26.1.2,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Calculus 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

hooneybAdgers 的其他作品

查看全部 →