File:Splined_epitrochoid.png
维基百科,自由的 encyclopedia
Splined_epitrochoid.png (400 × 400像素,文件大小:27 KB,MIME类型:image/png)
File:Splined epitrochoid.svg是此文件的矢量版本。 如果此文件质量不低于原点阵图,就应该将这个PNG格式文件替换为此文件。
File:Splined epitrochoid.png → File:Splined epitrochoid.svg
更多信息请参阅Help:SVG/zh。
|
本图片使用SageMath创作.
描述Splined epitrochoid.png |
made with Sage; code is as follows: # Five-petaled epitrochoid via splining the points:
# Draw an epitrochoid, fixed circle radius R, rotating circle
# of radius r, pen at distance d from center of rotating circle.
R = 5
r = 2
d = 3
rotations = ((R + r) / r).denom()
v = []
step = 0.2
for t in srange(0, 2 * pi * rotations, step):
v.append(((R + r) * cos(t) - d * cos(((R + r) / r) * t),
(R + r) * sin(t) - d * sin(((R + r) / r) * t)))
x_spline = spline([(RDF(i) / len(v), v[i][0]) for i in range(len(v))] + [(1, v[0][0])])
y_spline = spline([(RDF(i) / len(v), v[i][1]) for i in range(len(v))] + [(1, v[0][1])])
show(points(v, rgbcolor=(1, 0, 0), pointsize=10) + parametric_plot((x_spline, y_spline), (x, 0, 1), thickness=0.5),
figsize=[4, 4], ticks=[2.5, 2.5], xmin=-10)
|
|||
日期 | ||||
来源 | en.wikipedia.org | |||
作者 | dino | |||
授权 (二次使用本文件) |
|
此文件中描述的项目
描绘内容
版权状态 简体中文(已转写)
受版权保护,并由版权所有者释出于公有领域 简体中文(已转写)
著作权持有者释出至公有领域 简体中文(已转写)
6 3 2008
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2010年7月25日 (日) 20:52 | 400 × 400(27 KB) | Aleksd~commonswiki | {{Information |Description=made with SAGE; code follows: # Five-petaled epitrochoid via splining the points: # Draw an epitrochoid, fixed circle radius R, rotating circle # of radius r, pen at distance d from center of rotating circle. R=5; r=2; d=3; r |
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
- bg.wikipedia.org上的用途
- en.wikipedia.org上的用途
- id.wikipedia.org上的用途
- ta.wikipedia.org上的用途
- ur.wikipedia.org上的用途