像瓜子样的曲线
相关软件参见:数学图形可视化工具,使用自己定义语法的脚本代码生成数学图形.该软件免费开源.QQ交流群: 367752815
#http://www.mathcurve.com/courbes2d/clairaut/clairaut.shtml
vertices =
t = from to (*PI)
r = n = rand2(0.1, ) p = r*pow(sin(t), n) x = p*cos(t)
y = p*sin(t)
面:
vertices = D1: D2: u = from to (*PI) D1
v = from to D2 r = p = r*pow(abs(sin(u)), v) x = p*cos(u)
y = p*sin(u)