首页 > 代码库 > 数学图形(2.20)3D曲线
数学图形(2.20)3D曲线
这一节主要是发布我自己写的3D曲线,
(1)立体flower线圈
vertices = 8000a = 10.1b = 3.1s = (a + b) / bo = 4i = from 0 to (40*2*PI)j = mod(i, 2*PI)k = mod(s*i, 2*PI)m = a*sin(j)n = a*cos(j)x = m + o*sin(k)y = nz = o*cos(k)
(2)乱
vertices = 12000t = from (0.0) to (100*PI)r = 10a = rand2(PI*0.1, PI*0.9)s = sin(t)c = cos(t)x = r*s*cos(t/sin(a))z = r*s*sin(t/cos(a))y = r*c
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。