首页 > 数学图形(1.20)N叶草

数学图形(1.20)N叶草

有N个叶子的草

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

vertices = 1000
t = from 0 to (2*PI)
r = 10
n = rand_int2(3, 10)
p = 1 + cos(n*t) + sin(n*t)^2
x = p*cos(t)
y = p*sin(t)

N叶草面_1

vertices = D1:512 D2:100u = from 0 to (PI*2) D1
v = from 0.0 to 1.0 D2r = 10
n = rand_int2(3, 10)
p = 1 + v*cos(n*u) + sin(n*u)^2x = p*cos(u)
y = p*sin(u)

N叶草面_2

vertices = D1:512 D2:100u = from 0 to (PI*2) D1
v = from 0.0 to 4.0 D2r = 10
n = rand_int2(3, 10)
p = 1 + cos(n*u) + sin(n*u)^2*vx = p*cos(u)
y = p*sin(u)

 

 

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

更多相关:

  • We have ZZIPlib installed.My command configure line looks like :./configure ?with-apxs ?with-curl ?with-curl-dir=/usr/local/lib ?with-gd ?with-gd-dir=/usr/local ?with-g...

  • asar Whether to package the application’s source code into an archive, using Electron’s archive format. Defaults to true. Node modules, that must be unpacked, will be d...

  • 1.      今天遇到一问题,在sles11/vxworks下编译通过,但是在hpux下失败 2.      编译错误: /usr/ccs/bin/ld:DP relative code in file /projects/xxx/DERIVED/tfa_pa32-hpux.a(tfa02_pa32-hpux.o) -share...

  •         最近买个了小本lenovo x100e,结果发现这小本没有大小写指示灯,在windows用也无妨,不过我常常用这本在ubuntu中调试linux代码,vi 常用的编辑器,熟悉的都知道,大小写很关键的,用google搜了一下,发现可以用如下方法解决:        1.  “sudo apt-get install l...

  •   修改Ubuntu的启动logo 原文链接: https://my.oschina.net/jmjoy/blog/380262     内容:   Plymouth splash screen is the initial splash screen at boot-up.Ubuntu 10.04 uses Plym...