new icn messageflickr-free-ic3d pan white

5 Tori / 5個の輪環(りんかん)

(* === Following code of Mathematica 8 generates this image. === *)

 

a = 8; (* center hole size of a torus *)

b1 = 4;(* the number of angles *)

b2 = 5;(* the number of waves *)

b3 = 1; (* the number of knots *)

c = 6; (* distance from the center of rotation *)

d = 5; (* the number of tori *)

h1 = 1; (* width of a torus *)

h2 = 1; (* width of a torus *)

h3 = 6;(* height of a torus *)

SetOptions[ParametricPlot3D, PlotRange -> Full, Mesh -> None, Boxed -> False, Axes -> None,

PlotPoints -> 500, ImageSize -> 3000, Background -> RGBColor[{80, 40, 60}/255],

PlotStyle -> Directive[Specularity[White, 30], Texture[Import["D:/tmp/40.jpg"]]],

TextureCoordinateFunction -> ({#4, #5 + 2 Pi/b1} &), Lighting -> "Neutral"];

 

f[v_] := Sin[2 Sin[Sin[Sin[v]]]];

g[v_] := Cos[2 Cos[Cos[Cos[v]]]];

x = (a - h1 Cos[t] + h2 f[b1 s]) Cos[b3 (s + 3 Pi/(5 d))];

y = (a - h1 Cos[t] + h2 f[b1 s]) Sin[b3 (s + 3 Pi/(5 d))];

z = a - h3 (g[t] + f[b2 t]) + c;

rm = Table[{x, y, z}.RotationMatrix[2 i Pi/d, {1, 1, 1}], {i, d}];

 

ParametricPlot3D[rm, {t, 0, 2 Pi}, {s, 0, 2 Pi}]

 

(*---

The Texture

Another shapes and colors

*)

  

484 views
0 faves
1 comment
Uploaded on August 11, 2012