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