new icn messageflickr-free-ic3d pan white
12 Tori / 12個の輪環(りんかん) | by TANAKA Juuyoh (田中十洋)
Back to photostream

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

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

 

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

a2 = 16; (* center hole size of a torus *)

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

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

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

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

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

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

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

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

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

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

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

 

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

x = (a1 - h1 Cos[t] + h2 f[b1 s]) Cos[s] + c;

y = (a2 - h1 Cos[t] + h2 f[b1 s]) Sin[s] + c;

z = h3 f[b2 t];

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

 

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

 

(*---

The Texture

Another shapes and colors

*)

  

596 views
0 faves
0 comments
Uploaded on September 24, 2012