Drapeau vert et voila ... a rotating 3D Tetrahedron. The 3D rotation code only calculates the positions of the 4 vertices of the tetrahedron. The patterns are then drawn on the triangular faces by calculating intermediate point positions as fractions of the distances between these vertices.
My 3D Tutorial Studio: https://scratch.mit.edu/studios/5040029/ My Polyhedrons Studio: https://scratch.mit.edu/studios/5085215/