ScratchData LogoScratchData
Back to chalkboardninja5's profile

lights

CHchalkboardninja5•Created July 26, 2024
lights
0
0
1 views
View on Scratch

Instructions

THIS REQUIRES TURBOWARP press enter to flashlightify it after pressing space this is basically just a culmination of my "screen scan" project and HQGraphics' "codegolf metaballs" press space to scan (takes around 10 seconds) to clear the screen press X to re-render the image press R (doesnt re-scan it) to use an effect press one of the number keys: 1 = invert 2 = disintegrate (called "no pixels? :(" in the code for some reason)

Description

griffpatch - the tutor sam hogan - the image btw if the number keys dont work i have that issue too try running the scripts directly in the project oops the thumbnail keeps showing after the project starts ----how do i make an effect?---- look for "define funny" hat block insert an "if" at the end of it with an expression of "type of effect = X", X being whatever you want inside that "if" copy the code from one of the other "if" blocks and paste it in yours remove the "replace item ### of SCAN with (16777215 - item ### of SCAN)" or the "if <(pick random 1 to arg1) = 1>" but make sure to keep the "change ### by 1" -what does "replace item ### of scan with ?" do tho?- the repeat loop goes through each pixel and "replace item ### of SCAN with ?", just means "set the current pixel that ### is on's color to ?", ? being either decimal (recommended for most effects), or hex (recommended for non-image-heavy effects) you can add any code between "repeat length of SCAN" and change "###" by 1, and it will take effect, if the code messes around with "SCAN" in any way, because "SCAN", is the image result ----how do i save render data?---- there's no automatic way to do this yet and you can't put data in the comments anyway unless you are willing to be blocked from commenting so, see inside the project, no need to remix then in the editor just scan normally then after you scan, look in the SCAN list right-click it, press EXPORT, and just save it as something like "SCAN.txt" (its also like 1 GB large but that's because each entry in the list represents one pixel in scratch) ----how do i load render data?---- basically do the 3 first steps of saving but instead of right-clicking and pressing EXPORT you right-click and press IMPORT now open your "SCAN.txt" file press "R" on your keyboard and boom done. btw if you restart the project or scan normally you need to restart the process

Project Details

Project ID1050080868
CreatedJuly 26, 2024
Last ModifiedJuly 26, 2024
SharedJuly 26, 2024
Visibilityvisible
CommentsAllowed