use sliders to rotate and move 3d object hold space to increment all sliders by 1 and it makes a cool animation press 0 to load in high polycount model (suzanne) https://turbowarp.org/1297588197/fullscreen sooo much better in turbowarp lololol
https://www.malinc.se/math/linalg/rotatecubeen.php gave me the equations and the coordinates of the cube because i was too lazy to think about them (1,1,1), (1,-1,1), (-1,1,1), (-1,-1,1), (1,1,-1), (1,-1,-1), (-1,1,-1) and (-1,-1,-1). then wolfram alpha did the linear algebra for me because I didnt want to solve it on paper x * cos(b) * cos(c) - y * cos(b) * sin(c) + z sin(b) x(sin(a) sin(b) cos(c) + cos(a) sin(c)) + y(cos(a) cos(c) - sin(a) sin(b) sin(c)) - z sin(a) cos(b) the thing that sucks is that I spent over 2 hours on this because of how annoying to work with scratch is, plus i have an exam i should be studying for right now. I love scratch its just that i wish i could TYPE things sometimes. Like math equations with blocks are just complete torture to work with https://www.wolframalpha.com/input?i2d=true&i=%7B%7B1%2C0%2C0%7D%2C%7B0%2Ccos%5C%2840%29a%5C%2841%29%2C-sin%5C%2840%29a%5C%2841%29%7D%2C%7B0%2Csin%5C%2840%29a%5C%2841%29%2Ccos%5C%2840%29a%5C%2841%29%7D%7D%7B%7Bcos%5C%2840%29b%5C%2841%29%2C0%2Csin%5C%2840%29b%5C%2841%29%7D%2C%7B0%2C1%2C0%7D%2C%7B-sin%5C%2840%29b%5C%2841%29%2C0%2Ccos%5C%2840%29b%5C%2841%29%7D%7D%7B%7Bcos%5C%2840%29c%5C%2841%29%2C-sin%5C%2840%29c%5C%2841%29%2C0%7D%2C%7Bsin%5C%2840%29c%5C%2841%29%2Ccos%5C%2840%29c%5C%2841%29%2C0%7D%2C%7B0%2C0%2C1%7D%7D%7B%7Bx%7D%2C%7By%7D%2C%7Bz%7D%7D used model loading technique from https://scratch.mit.edu/projects/604872529/ @GonSanVi ^ suzzane model also stolen from there used triangle filler from : https://scratch.mit.edu/projects/24828481/ https://en.scratch-wiki.info/wiki/How_to_Go_Off_the_Screen_Edge added this to fix some of the issues with going off screen causing havok which probably adds more lag but i dont care this needs a rewrite and i should be working on my final for databases rn added quicksort using something by squoop when i first made it I was too lazy to implement quicksort, but holy crap i wish i did it sooner its so fast now