There are 11 ways to unfold an octahedron. This project allows you to explore all 11 ways to do this. Move your mouse to/tap the right of the screen to reveal touch controls. Quick keys. Arrows keys to rotate. F: to fold U: to unfold N: Next shape
An unfolded polyhedron is called a net. For more information see https://mathworld.wolfram.com/RegularOctahedron.html This project uses a rotation method I have not seen in scratch. Instead of using rotation matrices. I used quaternions. This allows for quick computation as well as an efficient way to keep track of all combined rotations. For more information see: https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation This project uses "Faster Triangle Filler" https://scratch.mit.edu/projects/24828481/ by @TheLogFather. Also the idea for rendering sides by depth I got from looking at projects from @Scratch-Minion