The 3D graphic in this discussion
How are these being rotated and gif getting created? Is there a code available for that?
The 3D graphic in this discussion
How are these being rotated and gif getting created? Is there a code available for that?
I will find and post the actual code I used… But I know I reused code by halirutan in mathematica.stackexchange.com. See:
Appreciate the quick reply, will wait for the code as I have been struggling since days using various methods …sigh.
@pki sig , welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST
The comments that are not directly related to the discussions should be posted as new discussions. Please post the code of your own effort and also check documentation for examples. Programatic rotation of a 3D graphic is discussed in the documentation here:
Also Anton already posted other links containing similar code (thank you Anton).
Thanks, I will keep it in mind.
I tried in so many ways to get the desired results but in 3D plot we need a variable like x y z or any expression to plot 3D rotated plot. In my case, there is no such variable or expression
Will wait for @antononcube for a sample code so I don’t pull my hair out.
Anton, pls let me know if you were able to find the sample code …thanks in advance.
Well, it turned out that it is not a trivial exercise 1) to make that code produce nice results with the newest Mathematica version, and 2) retrace and explain all of its computational ingredients.
The latter also explains why I have not published that 3D ornaments code.
Hopefully, I will have something meaningful by tomorrow…
Have you already seen ExportRotatingGIF from the Wolfram Function repository?
Well, no, I haven’t and, damn, I have to redo the notebook I was preparing for my answer to this community question!
Thanks for sharing!
I attached to this reply a notebook with code that produces animations of mandala-texturized polyhedrons.
(I show how use both WFR’s ExportRotatingGIF and my own custom function I used in the original post .)

Thanks a ton, let me give it a try …really appreciate this.
Good luck! (Post here if you get any interesting results…)
Yohoo, its started to work …for a single ornament, when I am trying other types of polygon, it cutting the edges, is there a way to increase the background size (padding). Attached is sample

So far so good!
[…] is there a way to increase the background size (padding) […]
Try using / experiment with ExportRotatingGIF – it has good examples and documentation of finding viewpoints, padding, etc.