ScratchData LogoScratchData
Back to tsf70's profile

(UPDATED) 3D Projection Speed Comparison remix-2

TStsf70•Created April 11, 2023
(UPDATED) 3D Projection Speed Comparison remix-2
7
4
135 views
View on Scratch

Instructions

Comparing more 3D projection methods for speed. About 100x faster on Turbowarp. 1. @TheGoodGuy2000: Very fast. To the best of my knowledge, the fastest on Scratch, but not by much. Although it uses more variables and more complex math than #3, it's about 1% faster at 5.4μs per point. 2. @iaobardar: Quite fast, but far too much usage of trig functions, making it much slower than the other methods here. About 9μs per point. 3. @iaobardar, @ChuckSploder: Really fast, uses precalculated trig functions and optimized math for up to 55% more speed than #2. About 5.5μs per point. This was previously the fastest method (but still the simplest) for use on Scratch. Notes: 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. I also edited @TheGoodGuy2000's method because the X axis was inverted.

Description

Improved iaobardars method, i still believe TGG2000’s is better even thought it is slightly slower

Project Details

Project ID833502880
CreatedApril 11, 2023
Last ModifiedApril 11, 2023
SharedApril 11, 2023
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root