数学图形(1.26)Clairaut曲线

像瓜子样的曲线

相关软件参见:数学图形可视化工具,使用自己定义语法的脚本代码生成数学图形.该软件免费开源.QQ交流群: 367752815

#http://www.mathcurve.com/courbes2d/clairaut/clairaut.shtml
vertices = 1000
t = from 0 to (2*PI)
r = 10

n = rand2(0.1, 10)

p = r*pow(sin(t), n)

x = p*cos(t)
y = p*sin(t)

面:

vertices = D1:512 D2:200

u = from 0 to (2*PI) D1
v = from 0 to 50 D2

r = 10

p = r*pow(abs(sin(u)), v)

x = p*cos(u)
y = p*sin(u)

posted on 2014-07-08 12:58  叶飞影  阅读(780)  评论(0编辑  收藏  举报