These interactive 3D objects are Adobe PRC files that only Asymptote (as an open-source software) is able to write. They are embedded into PDF using the media9 LaTeX package under the hood. Only Acrobat (Reader) is currently able to render them as embedded objects in a PDF file.
As PRC is a binary format, it is difficult to write it from within a PostScript program. With PSTricks, it is possible to prepare frame-based animations as standalone (GIF, SVG) files or embedded into PDF.
Click on the image to load the animated SVG. Chrome, Chromium or other Blink-based browser required, as Firefox is too slow:

%\documentclass[12pt,border=5pt]{standalone} % PDF animation in A-Reader
%\documentclass[12pt,pstricks,border=5pt,export]{standalone} % for export to animated GIF
\documentclass[dvisvgm]{article} %animated SVG
\usepackage{animate}
\pagestyle{empty}
\usepackage{pst-3dplot}
\begin{document}
\frame{\begin{animateinline}[controls]{24}
\multiframe{72}{iAng=0+5}{
\begin{pspicture}(-4.9,-3.6)(4.6,6)
\psset{Alpha=\iAng,Beta=60}
\pstThreeDCoor[zMax=9]
\psCylinder[RotX=10,increment=5]{3}{5}
\pstThreeDLine[linecolor=red](0,0,0)(0,0,8.5)
\end{pspicture}
}
\end{animateinline}}
\end{document}
media9LaTeX package under the hood. Only Acrobat (Reader) is currently able to render them as embedded objects in a PDF file. – AlexG Dec 17 '18 at 16:10texdoc animate(the package from Alexander) or see http://tug.org/PSTricks/main.cgi?file=Animation/gif/gif – Dec 17 '18 at 17:20