ScratchData LogoScratchData
Back to ChuckSploder's profile

3D Projection Speed Comparison

CHChuckSploder•Created November 27, 2022
3D Projection Speed Comparison
19
15
258 views
View on Scratch

Instructions

Comparing some 3D projection methods for speed. About 100x faster on Turbowarp, too fast for precision's sake. 1. @Vadik1: Somewhat fast but uses a lot of custom blocks, increasing computation time. About 7.5μs per point. However, this is by far the fastest method for use on Turbowarp. 2. @iaobardar: Quite fast, but far too much usage of trig functions, making it slower than #1. About 9μs per point. 3. @iaobardar, @ChuckSploder: Very fast, uses precalculated trig functions for up to 30% more speed than #1. About 5.5μs per point. This is the fastest method for use on Scratch. Note: I edited @iaobardar's method a tiny bit because the accuracy was off; certain variables were being changed before they could be used in the proper context.

Project Details

Project ID767919196
CreatedNovember 27, 2022
Last ModifiedFebruary 4, 2023
SharedNovember 27, 2022
Visibilityvisible
CommentsAllowed