巴斯加线是一种大圈套小圈的图形
相关软件参见:数学图形可视化工具,使用自己定义语法的脚本代码生成数学图形.该软件免费开源.QQ交流群: 367752815
vertices = 1000 r = 10.0 b = 3.0 t = from 0 to (2*PI) p = -2*r*cos(t) + b x = p*sin(t) y = p*cos(t)
巴斯加线所组成的面:
vertices = D1:512 D2:100 u = from 0 to (2*PI) D1 v = from 0 to 20 D2 r = 5.0 p = -2*r*cos(u) + v; x = p*sin(u) y = p*cos(u)
蚶线(Limacon)与巴斯加线很相似,
vertices = 1000 r = 10.0 b = 3.0 t = from 0 to (2*PI) p = r*(1 + b*sin(t)) x = p*sin(t) y = p*cos(t)
vertices = D1:512 D2:100 u = from 0 to (2*PI) D1 v = from 0 to 10 D2 r = 5.0 p = r*(1+v*sin(u)) x = p*sin(u) y = p*cos(u)