I have actually made this pyramid with CSS and also computer animated it with TypeScript yet it arbitrarily begins flipping out or entering the incorrect instructions and also I have actually attempted several points to address this and also I simply can not figure it out. The pest takes place when I am simply scrolling with the web page or a various one takes place when I leave the web page for a couple of secs at the very least after that return. The code is below: Spinning Pyramid. I assume it is some integrated capability of changes or something that is screwing me over yet I can not figure it out. Any kind of aid would certainly be considerably valued.