? Saturation ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

Saturation

Submitted
Updated
Author
NateDogg1232
Public Key
DVES3Y3
Min. Compat.
All
Rating
2 votes
Description This is my submission to the OSP contest. This program changes the saturation of an image (in the program, that is the sprite page (GRP4) by converting the RGB value of each pixel to an HSV value, reducing the saturation value, then converting it back to RGB. Instructions Enter in the percentage of saturation you want the image to have. Notes Note: Once the contest is over, I'll expand the code all over again and make it into a full length program
Categories
Keywords
14 Comment(s) mi mi Night Person I like the quiet night and sleep late. Express Yourself Halloween 2017 Contest Participant I participated in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Special Admin Hidden Easter Eggs I liked seeing how the sprites were affected. I wonder if I could find a use for this in another program one day~ Nice! ^w^ NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength It has a converting algorithm for changing the RGB values that are given to HSV (Hue [color], saturation, and vibrance [brightness]) that you can use for many thingsrelating to graphics things. Maybe some day I'll have a program that can freely edit all of these values of a certain image. chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements suggestion: leave transparent pixels alone because i don't want to have a completely white-filled void behind all my sprites. NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Will add that. Thanks! NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength All done. I hope it worked, but I have no way of making sure, I don't think. niconii niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest. NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I don't think I quite understand. It does indeed fit in the editor for one page, right? Or do you mean, using things like : excessively (like my program does, I'll admit) is not allowed? Lumage Lumage Head Admin Look at some of the examples on the contest thread. niconii niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies Let me explain it another way. The entirety of your code must fit in a single screenshot. This is your code as submitted: Notice how it took three screenshots to show all the code. NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Oh. Whoops. I uploaded with the wrong file. Gimme a moment. I guess I should have checked. NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I just fixed it. I'm very sorry about that. Lumage Lumage Head Admin Nice key mi mi Night Person I like the quiet night and sleep late. Express Yourself Halloween 2017 Contest Participant I participated in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Special Admin Hidden Easter Eggs I thought so too lol NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I like it also. It's just right.