ScratchData LogoScratchData
Back to 30lSChannel's profile

Paint v2.2

3030lSChannel•Created May 24, 2024
Paint v2.2
0
0
7 views
View on Scratch

Instructions

For better performance and higher quality, use turbowarp.org/678295396/fullscreen?fps=60&hqpen Paint v1: https://scratch.mit.edu/projects/621722148/ Paint v2 was originally going to be another one of those 'Did not use another griffpatch tutorial!' projects. Eventually, though, I fount the struggle with hand-made bitmaps, so I decided to use the pen to draw what I wanted for me. The FPS only averaged 5. I got the FPS to 20 via halving the width and height, then, and only then, did I decide to make it a paint project. The original 'Did not use another griffpatch tutorial!' plan became the eyedropper. I already had the key thing in place that allowed be to make the eyedropper possible: the RGB to CSB converter. The project uses CSB because thats what Scratch uses. The color selector was entirely built on CSB, so I had to use a converter. These are the maths: R' = R / 255 G' = G / 255 B' = B / 255 V: max(R', G', B') Cmin: min(R', G', B') D: V - Cmin C: {0: D = 0, 33.333 * (((G' - B') / 6) mod 6): V = R', 33.333 * (((B' - R') / 6) + 2): V = G', 33.333 * (((R' - g') / 6) + 4): V = B'} S: {0: Cmax = 0, D / Cmax: Cmax ≠ 0} So, what's new? - Can use the full 16.78 million colors of the pen - Freely changable size - Eyedropper (the 'Did not use another griffpacth tutorial!' part of the project) Fun fact: this project took 4 hours to make!

Description

Dominic Szablewski for QOI (Yes, really. The encoding step really does encode it into a standard image format.) Changelog: v1: Original version. v2: Read the rest of the description. v2.1: Added text! v2.11: Moved 'Text' button to the right. v2.12: bug fixes v2.2: - Saving and loading - Implementing QOI took a while! - Line and rect - Preformant - Copy/paste

Project Details

Project ID1026712887
CreatedMay 24, 2024
Last ModifiedMay 24, 2024
SharedMay 24, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root