MAKE A MEME View Large Image mathematica 3d cg parametricplot3d texture torus code program algorithm プログラム コード アルゴリズム 輪環 りんかん ドーナツ どーなつ トーラス とーらす mapping テクスチャ マッピング 模様 ...
View Original:6_Tori_/_6個の輪環(りんかん).jpg (2680x2675)
Download: Original    Medium    Small Thumb
Courtesy of:www.flickr.com More Like This
Keywords: mathematica 3d cg parametricplot3d texture torus code program algorithm プログラム コード アルゴリズム 輪環 りんかん ドーナツ どーなつ トーラス とーらす mapping テクスチャ マッピング 模様 もよう abstract 抽象 ちゅうしょう アブストラクト design pattern デザイン パターン graphic グラフィック グラフィクス structure 意匠 構造 symmetry 対称性 たいしょうせい シンメトリー 対称 たいしょう motorcycle vehicle bike white background tangle a = 10; (* center hole size of a torus *) b1 = 8;(* the number of angles *) b2 = 6;(* the number of waves *) c = 10; (* distance from the center of rotation *) d = 6; (* the number of tori *) h1 = 5; (* width of a torus *) h2 = 8; (* width of a torus *) SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> None, PlotPoints -> 400, ImageSize -> 2600, Background -> RGBColor[{200, 200, 240}/255], PlotStyle -> Directive[Specularity[White, 70], Texture[Import["D:/tmp/94.jpg"]]], TextureCoordinateFunction -> ({#4, #5 Pi} &), Lighting -> "Neutral"]; x = (a - h1 Cos[t] + h2 Sin[b1 s]) Cos[s + 3 Pi / (2 b1)]; y = (a - h1 Cos[t] + h2 Sin[b1 s]) Sin[s + 3 Pi / (2 b1)]; z = Sin[b2 t] + c; vc = {{0, 0, 1}, {0, 0, -1}, {0, 1, 0}, {0, -1, 0}, {1, 0, 0}, {-1, 0, 0}}; rm = Table[{x, y, z}.RotationMatrix[{{0, 0, 1}, vc[[i]]}], {i, d}]; ParametricPlot3D[rm, {t, 0, 2 Pi}, {s, 0, 2 Pi}] (*--- The Texture *) a = 10; (* center hole size of a torus *) b1 = 8;(* the number of angles *) b2 = 6;(* the number of waves *) c = 10; (* distance from the center of rotation *) d = 6; (* the number of tori *) h1 = 5; (* width of a torus *) h2 = 8; (* width of a torus *) SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> None, PlotPoints -> 400, ImageSize -> 2600, Background -> RGBColor[{200, 200, 240}/255], PlotStyle -> Directive[Specularity[White, 70], Texture[Import["D:/tmp/94.jpg"]]], TextureCoordinateFunction -> ({#4, #5 Pi} &), Lighting -> "Neutral"]; x = (a - h1 Cos[t] + h2 Sin[b1 s]) Cos[s + 3 Pi / (2 b1)]; y = (a - h1 Cos[t] + h2 Sin[b1 s]) Sin[s + 3 Pi / (2 b1)]; z = Sin[b2 t] + c; vc = {{0, 0, 1}, {0, 0, -1}, {0, 1, 0}, {0, -1, 0}, {1, 0, 0}, {-1, 0, 0}}; rm = Table[{x, y, z}.RotationMatrix[{{0, 0, 1}, vc[[i]]}], {i, d}]; ParametricPlot3D[rm, {t, 0, 2 Pi}, {s, 0, 2 Pi}] (*--- The Texture *)
Terms of Use   Search of the Day