自变量x
运算+ - * / ^(幂)
隐式乘法2x = 2*x · (x+1)(x-1) = (x+1)*(x-1)
三角sin cos tan asin acos atan sinh cosh tanh
指数对数exp ln(=自然对数) lg(=log10) log2 sqrt cbrt
常量pi e tau
其它abs sign floor ceil round min max hypot
缓动smoothstep(a,b,x) — S 曲线平滑过渡 a→b
表达式中的每个数字都会自动生成参数滑条(按出现顺序命名为 a,b,c…),拖动即可实时观察曲线变化,「复位」恢复默认值。
示例 · smoothstep(0,9,x)*(1-smoothstep(9,11,x))