数学图形(2.26) 3D曲线结

本文深入探讨了三种不同的曲线结的数学特性,通过详细解析其参数方程,展示了这些几何形状的独特之处。每种曲线结都由一系列数学公式定义,通过调整参数可以生成丰富的视觉效果。

我收集的几种曲线结

knot(huit)

复制代码
#http://www.mathcurve.com/courbes3d/noeuds/noeudenhuit.shtml
vertices = 1000

t = from 0 to (80*PI)

x = sin(t)
y = sin(t)*cos(t)/2
z = sin(2*t)*sin(t/2) / 4

r = 10;
x = x*r
y = y*r
z = z*r
复制代码

knot(Paul Bourke)

复制代码
#http://www.mathcurve.com/courbes3d/noeuds/noeudenhuit.shtml
vertices = 1000

t = from 0 to (80*PI)

x = 3*cos(t) + 5*cos(3*t)
y = 3*sin(t) + 5*sin(3*t)
z = sin(5*t/2)*sin(3*t) + sin(4*t) - sin(6*t)

r = 4;
x = x*r
y = y*r
z = z*r
复制代码

knot(Rohit Chaudhary)

复制代码
#http://www.mathcurve.com/courbes3d/noeuds/noeudenhuit.shtml
vertices = 12000

t = from 0 to (2*PI)

a = sin(t)
b = cos(t)
c = sin(2*t)
d = cos(2*t)
e = sin(3*t)
f = cos(3*t)

x = 32*b - 51*a - 104*d - 34*c + 104*f - 91*e
y = 94*b + 41*a + 113*d - 68*f - 124*e
z = 16*b + 73*a - 211*d - 39*c - 99*f - 21*e
复制代码

转载于:https://www.cnblogs.com/WhyEngine/p/3843987.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值