Controls: WASD to move E/Q Arrows to rotate camera Used to be called: 3d engine optimized, Now its called apple engine because I decided to give it a name Used on this project: https://scratch.mit.edu/projects/1328314783/ TO CHANGE SECNES: You need to enable SceneWRender and the change the scene and then disable or the otherway around. Update (jun 03, 2026): Changed the projection and transformation to use less blocks. Old transformation one used to be ~118.252 additions, now is ~54.6 additions around 2 times more better (according to https://scratch.mit.edu/projects/1030987979/fullscreen/). Projection uses 2 variable assignments instead of 3 variables and 1 block call. Scene 3 noew renders at 7fps instead of 6fps Update (jun 03, 2026 V2): I have re-written around half of the rendering process and scene creation process to now support indexed connections - Scene 3 is now running at 10 fps. I just need to change the triangle renderer to be a faster one. Basically indexed connections means that the render doesn't have to project duplicate vertices anymore and now i have a table of triangles that each have an index instead of a table of each position which means that now i can merge duplicate vertices. This took me like around 5 tries to get it right, but at the end it would've been like a 3x speedup but the bottleneck is the triangle render and a bit of the z-ordering - I need to change both, update v2.1: I have changed the triangle filler to be the one used in this project: https://scratch.mit.edu/projects/717989328/ (around 2x speedup). update v2.2: I have changed the trash z-clipper with the one used here: https://scratch.mit.edu/projects/787193208/ and i also combined drawing with projection and moved some functions around. somehow at scene 3 is back to being at 8fps. update v2.3: reverted the transformations to be a vector matrix multiplication because that is faster when its outputted correctly and scene 3 is at 8.5 fps. update v2.4: scene 3 is now at 11fps because i was appending not culled points to the transformation pass which is causing more lag than just not doing it and i also deleted some unused lists. update v2.5: switched to the quicksort and timings to be in ms instead of fps. scene 3 is now running at 12fps. Z ordering problems is supposed to be broken on wireframes 3 and 4. This is now equivalent to the speed of most normal modern 3d engines