数学图形(1.25)cassini曲线
通过这种曲线可以看到一种由8到0的过度
相关软件参见:数学图形可视化工具,使用自己定义语法的脚本代码生成数学图形.该软件免费开源.QQ交流群: 367752815
#http://www.mathcurve.com/courbes2d/cassini/cassini.shtml vertices = 1000 t = from (-PI) to (PI) a = 10 b = rand2(0, 4*a) e = b/a; p = a*sqrt(cos(2*t) + sqrt(e^4 - sin(2*t)^2)) x = p*cos(t) y = p*sin(t)
面:
vertices = D1:512 D2:100 u = from (-PI) to (PI) D1 v = from (0) to (4) D2 a = 10 p = a*sqrt(cos(2*u) + sqrt(v^4 - sin(2*u)^2)) x = p*cos(u) y = p*sin(u)