koishi-plugin-drf
v0.0.5
Published
draw math function in your group
Maintainers
Readme
koishi-plugin-drf
draw math function in your group
Math Forest 群聊用函数绘图器 使用说明
支持格式
- 显式函数(y= 可省略)
- x^2
- y = sin(x) + cos(x)
- x = y^2 - 3
- 隐函数(以 0= 开头)
- 0 = x^2 + y^2 - 1
- 0 = sin(x) - y
- 参数方程
- drf (t)[t * cos(3 * t), t * sin(3 * t)]
缩放参数
@数值 -> 坐标范围为 [-n, n]
示例
- drf sin(x) @30
- drf 0 = x^2+y^2-25
- drf (t)[t * cos(t), t * sin(t)] @15
- drf (t)[(16sin(t)^3), (13cos(t) - 5cos(2t) - 2cos(3t) - cos(4*t))] @20
关于
Duo : https://www.mduo.cloud/
Math Forest : 663251235