Keywords: mathematica 3d cg parametricplot3d texture torus トーラス とーらす 輪環 りんかん program プログラム code コード algorithm コード アルゴリズム geometric sculpture geometricsculpture shape geometry sculpture mapping テクスチャ マッピング 模様 もよう design pattern デザイン パターン graphic グラフィック グラフィクス structure 意匠 構造 symmetry 対称性 たいしょうせい シンメトリー 対称 たいしょう algorithm white background animal food SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> None, PlotPoints -> 200, ImageSize -> 1000, PlotStyle -> Directive[Specularity[White, 30], Texture[Import["http://farm2.static.flickr.com/1219/5104765200_def2efc6e2_b.jpg"]]], TextureCoordinateFunction -> ({#4, #5} &), Lighting -> "Neutral"]; a = 3; b = a/3; x = (a + Cos[v]) Sin[u] + b; y = Sin[v] + b; z = (a + Cos[v]) Cos[u] + b; rot = Table[{x, y, z}.RotationMatrix[2 i Pi/5, {1, 0, 0}], {i, 5}]; ParametricPlot3D[rot, {u, 0, 2 Pi}, {v, 0, 2 Pi}] --- Texture is this: www.flickr.com/photos/tanaka_juuyoh/5104765200/in/set-721... SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> None, PlotPoints -> 200, ImageSize -> 1000, PlotStyle -> Directive[Specularity[White, 30], Texture[Import["http://farm2.static.flickr.com/1219/5104765200_def2efc6e2_b.jpg"]]], TextureCoordinateFunction -> ({#4, #5} &), Lighting -> "Neutral"]; a = 3; b = a/3; x = (a + Cos[v]) Sin[u] + b; y = Sin[v] + b; z = (a + Cos[v]) Cos[u] + b; rot = Table[{x, y, z}.RotationMatrix[2 i Pi/5, {1, 0, 0}], {i, 5}]; ParametricPlot3D[rot, {u, 0, 2 Pi}, {v, 0, 2 Pi}] --- Texture is this: www.flickr.com/photos/tanaka_juuyoh/5104765200/in/set-721... |