MAKE A MEME View Large Image mathematica 3d cg parametricplot3d texture torus code program algorithm プログラム コード アルゴリズム 輪環 りんかん ドーナツ どーなつ 五芒星 ごぼうせい geometric sculpture geometricsculpture shape ...
View Original:5_Crossing_penta-tori_/_交差する5個の五芒星環.jpg (3080x3033)
Download: Original    Medium    Small Thumb
Courtesy of:www.flickr.com More Like This
Keywords: mathematica 3d cg parametricplot3d texture torus code program algorithm プログラム コード アルゴリズム 輪環 りんかん ドーナツ どーなつ 五芒星 ごぼうせい geometric sculpture geometricsculpture shape geometry sculpture mapping テクスチャ マッピング 模様 もよう abstract 抽象 ちゅうしょう アブストラクト design pattern デザイン パターン graphic グラフィック グラフィクス structure 意匠 構造 symmetry 対称性 たいしょうせい シンメトリー 対称 たいしょう plant leaf foliage black background tree a = 4; (* center hole size *) b = 5; (* penta-torus *) c = -4; (* distance from the center of rotation *) d = 5; (* number of torus *) h = 1; (* height of a torus *) SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> False, PlotPoints -> 400, ImageSize -> 3000, Background -> RGBColor[{20, 50, 30}/255], PlotStyle -> Directive[Specularity[White, 30], Texture[Import["D:/tmp/71.jpg"]]], TextureCoordinateFunction -> ({#4, #5 Pi} &), Lighting -> "Neutral"]; f[v_] := TriangleWave[{-1, 1}, v/(2 Pi)]; g[v_] := TriangleWave[{-1, 1}, v/(2 Pi) + 1/4]; x = (a - g[t] - f[b s]) Cos[s + Pi/(2 b)]; y = (a - g[t] - f[b s]) Sin[s + Pi/(2 b)]; z = (a - f[t] - h f[b s]) + c; rm = Table[{x, y, z}.RotationMatrix[2 i Pi/d, {1, 1, 0}], {i, d}]; ParametricPlot3D[rm, {t, 0, 2 Pi}, {s, 0, Pi}] (*--- The Texture *) a = 4; (* center hole size *) b = 5; (* penta-torus *) c = -4; (* distance from the center of rotation *) d = 5; (* number of torus *) h = 1; (* height of a torus *) SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> False, PlotPoints -> 400, ImageSize -> 3000, Background -> RGBColor[{20, 50, 30}/255], PlotStyle -> Directive[Specularity[White, 30], Texture[Import["D:/tmp/71.jpg"]]], TextureCoordinateFunction -> ({#4, #5 Pi} &), Lighting -> "Neutral"]; f[v_] := TriangleWave[{-1, 1}, v/(2 Pi)]; g[v_] := TriangleWave[{-1, 1}, v/(2 Pi) + 1/4]; x = (a - g[t] - f[b s]) Cos[s + Pi/(2 b)]; y = (a - g[t] - f[b s]) Sin[s + Pi/(2 b)]; z = (a - f[t] - h f[b s]) + c; rm = Table[{x, y, z}.RotationMatrix[2 i Pi/d, {1, 1, 0}], {i, d}]; ParametricPlot3D[rm, {t, 0, 2 Pi}, {s, 0, Pi}] (*--- The Texture *)
Terms of Use   Search of the Day