ScratchData LogoScratchData
Back to TR00M00's profile

Extra Optimizations - SCTF

TRTR00M00•Created September 5, 2023
Extra Optimizations - SCTF
7
5
59 views
View on Scratch

Instructions

Use the variable sliders to change the look of the triangle filler. Move your cursor to the lower end of the screen to unhide them. The "Frame Time" variable times how long the project took to render; most likely, it'll say 0.033, which is 30 FPS.

Description

Same project as the last, but I checked out a few other projects to see how optimized this could get. Apparently custom blocks may help this run faster? The Performance Saving Multiplier is my attempt at getting just a bit more speed out of the rendering process by decreasing detail whenever it may not be noticed. It uses the incircle and circumcircle to determine if the triangle uses more detail or not. Triangles with sharper angles are more likely to use the default detail setting, while more equilateral ones will choose lower detail depending on that multiplier.

Project Details

Project ID889372625
CreatedSeptember 5, 2023
Last ModifiedSeptember 5, 2023
SharedSeptember 5, 2023
Visibilityvisible
CommentsAllowed