Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Manipulate[Graphics3D[{Specularity[White, 20],
  2. Texture[ImageCrop[ExampleData[{"ColorTexture", "WhiteMarble"}], {128, 128}]],
  3. EdgeForm[Opacity[1/10]], (Append[#1, {VertexTextureCoordinates ->
  4. With[{n = Length[First[#1]]},
  5. Table[1/2 {Cos[2 [Pi] i/n], Sin[2 [Pi] i/n]} + {1/2, 1/2}, {i, 0, n - 1}]]}] &) /@
  6. Flatten[Normal[PolyhedronData[p, "Faces"]]]},
  7. Lighting -> "Neutral"], {{p, "RhombicHexecontahedron", "polyhedron"}, PolyhedronData[]}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement