Discuss Scratch

nXIII
Scratcher
1000+ posts

Pen, touching changes please!

Laternenpfahl
The old blocks need to stay though…
Which old blocks? I'm not removing any…

I did change hue to a percent, though.

EDIT: …but hue makes no sense as a percent, since the scale is cyclical. I changed it back; I would prefer 0-359 but Scratch already has 0-199, so I kept that.

Last edited by nXIII (Dec. 11, 2012 07:45:37)


nXIII · GitHub
Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

nXIII
snip

Use 0 - 360. 0-199 aint good

yeah, I'm still here
nXIII
Scratcher
1000+ posts

Pen, touching changes please!

Laternenpfahl
Use 0 - 360359. 0-199 aint good
0-199 is the Scratch convention, though; changing it might confuse new users…

EDIT: However, since PEN COLOR would be renamed to PEN HUE and a Google search for hue instantly reveals that the scale is in degrees, you're probably right.

EDIT2: Do you agree with my category assignments? I though about putting the constructor and accessor blocks in Operators, but ( of ) looks a lot like ( of ) even though they are semantically different, so I decided to put them in Pen with most of the other color-related blocks. (color at) should definitely go in Sensing.

Last edited by nXIII (Dec. 11, 2012 10:14:29)


nXIII · GitHub
Lightnin
Scratcher
1000+ posts

Pen, touching changes please!

Thanks for the well thought out proposals. However, I'm still skeptical. Real estate on the Scratch palette is very precious, and any increase in the number of blocks also increases complexity / potential for confusion or intimidation of new users. So to me, the benefit of increased ceiling height here doesn't outweigh the costs of the increase in floor height.

Everyone already knows what “color” is. But a great deal of our users will never have heard of HSU, RGB, or the concept of color space in general.

Last edited by Lightnin (Dec. 11, 2012 16:24:11)

Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

Lightnin
Thanks for the well thought out proposals. However, I'm still skeptical. Real estate on the Scratch palette is very precious, and any increase in the number of blocks also increases complexity / potential for confusion or intimidation of new users. So to me, the benefit of increased ceiling height here doesn't outweigh the costs of the increase in floor height. Everyone already knows what “color” is. But a great deal of our users will never have heard of HSU, RGB, or the concept of color space in general.
That doesn't mean they have to use it, does it?

yeah, I'm still here
nXIII
Scratcher
1000+ posts

Pen, touching changes please!

Lightnin
Real estate on the Scratch palette is very precious, and any increase in the number of blocks also increases complexity / potential for confusion or intimidation of new users.
What about <next costume>, <say () for () secs>, <think () for () secs>, <change x/y by ()>, <set x/y to ()>, and many of the hat blocks? They all have trivial workarounds, unlike the three blocks I'm proposing (some of which don't have any workarounds).

Also, two of the three blocks go in the Pen category, one of the categories with the fewest blocks. They wouldn't affect screen real estate much, and neither would the one new Sensing block.

Lightnin
So to me, the benefit of increased ceiling height here doesn't outweigh the costs of the increase in floor height.
To me, the <color at x: () y: ()> block is immediately understandable, and in my experience the words “hue,” “saturation,” and “lightness” are all fairly common outside of computing and have exactly the meanings one would expect. My proposal never mentions color spaces or the abbreviation HSL, so I think if people didn't immediately get what the hue/saturation/lightness block did they could experiment a little (by clicking the block and looking at the color that pops up in the “reported value” bubble) and figure out what each argument did. After that it's easy to see what the <(component) of (color)> block does (simply the reverse of the <color hue: () saturation: () lightness: ()> block) and how you can use the colors (as the displayed colors in the “reported value” bubble should look identical to the ones in color arguments).

Last edited by nXIII (Dec. 11, 2012 18:37:39)


nXIII · GitHub
Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

nXIII
Lightnin
Real estate on the Scratch palette is very precious, and any increase in the number of blocks also increases complexity / potential for confusion or intimidation of new users.
What about <next costume>, <say () for () secs>, <think () for () secs>, <change x/y by ()>, <set x/y to ()>, and many of the hat blocks? They all have trivial workarounds, unlike the three blocks I'm proposing (some of which don't have any workarounds).

Also, two of the three blocks go in the Pen category, one of the categories with the fewest blocks. They wouldn't affect screen real estate much, and neither would the one new Sensing block.

Lightnin
So to me, the benefit of increased ceiling height here doesn't outweigh the costs of the increase in floor height.
To me, the <color at x: () y: ()> block is immediately understandable, and in my experience the words “hue,” “saturation,” and “lightness” are all fairly common outside of computing and have exactly the meanings one would expect. My proposal never mentions color spaces or the abbreviation HSL, so I think if people didn't immediately get what the hue/saturation/lightness block did they could experiment a little (by clicking the block and looking at the color that pops up in the “reported value” bubble) and figure out what each argument did. After that it's easy to see what the <(component) of (color)> block does (simply the reverse of the <color hue: () saturation: () lightness: ()> block) and how you can use the colors (as the displayed colors in the “reported value” bubble should look identical to the ones in color arguments).
But the block that takes most screen space vs. usability is forever if can't we have a switch instead?

(unrelated)

Last edited by Laternenpfahl (Dec. 12, 2012 19:42:14)


yeah, I'm still here
Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

bump
up
my
post

(sorry, it's so lightnin sees this)

yeah, I'm still here
Hardmath123
Scratcher
1000+ posts

Pen, touching changes please!

How about simplifying the color constructor to turn named colors like “blue” or “vermillion” into the corresponding colors. As a bonus for advanced users, it should support an input of rob(x,y,z), hsl(x,y,z) and #XYZ.

Then you need a set of only two blocks, and no constructor:
(color code at x:() y:())
Note that this says code because it returns the hsl of the color.
([color|shade|grayness v] of [magenta])
The terms color and shade should be retained, and grayness sounds like a good, clear word. Alternatively, only allow full-color and grayscale colors, where the “color” of a grayscale is -1.

You can also replace the two pen color setting blocks with just one:
set pen color to [olive]

Last edited by Hardmath123 (Dec. 13, 2012 06:11:46)

nXIII
Scratcher
1000+ posts

Pen, touching changes please!

Visually selecting a color from a palette with a string argument would be really odd, and you're using “color” to mean two completely different things.

Also, you just made Scratch colors into a subset of CSS colors. I'm not sure that's a good idea.

nXIII · GitHub
Hardmath123
Scratcher
1000+ posts

Pen, touching changes please!

We retain the block with the color picker as a separate block:

set pen color to <colorpicker>
set pen color to <stringinput>

Also, you don't go from code to name, you go from name to code. So I don't see how allowing named colors shrinks the set of colors. You can always describe a new color with the code, but new programmers can use the names instead. Kind of like BBcode colors: you use names when you're new and move on the hex colors when you're a pro.

Last edited by Hardmath123 (Dec. 13, 2012 08:46:52)

Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

As lightnin said, RGB would seem a bit confusing, and could scare new scratchers

Also, Color names seem good, but would take an extra space. The Hue, Saturation, Lightness is understandable to new Scratchers.

We could have a thing where you move the sliders in the help section!

Last edited by Laternenpfahl (Dec. 13, 2012 09:15:19)


yeah, I'm still here
Laternenpfahl
Scratcher
500+ posts

Pen, touching changes please!

This drowned.

Lightnin? You there?

yeah, I'm still here
mythbusteranimator
Scratcher
1000+ posts

Pen, touching changes please!

SUPPORT TO INFINITY AND BEYOND

I've been listening to…
Ogre Battle // Queen // Queen II // Heavy Metal, Hard Rock, Progressive Metal
Orion // Metallica // Master of Puppets // Heavy Metal, Thrash Metal, Instrumental
Damage Inc. // Metallica// Master of Puppets // Thrash Metal, Heavy Metal
Snow (Hey Oh) // Red Hot Chilli Peppers // Snow (Hey Oh) // Soft Rock, Acoustic
Who Wants To Live Forever // Queen // A Kind of Magic // Power Ballad, Soft Rock
I suggest you listen to…
For a influential playlist: Damage Inc and Orion. Both of these songs are part of the album that revolutionized heavy and thrash metal forever.
starlightsparker
Scratcher
1000+ posts

Pen, touching changes please!

massive bump-
I wanted to make this suggestion but I found this lol

✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ s.her !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
! attention ! my only account is @starlightsparker. if anyone pretends to be me, pretends to be a “secret alt” of mine, or anything like that, they are lying. I’m putting this message here in light of recent events.
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>
medians
Scratcher
1000+ posts

Pen, touching changes please!

starlightsparker
massive bump-
I wanted to make this suggestion but I found this lol
That explains the notification :P

Also, maybe stuff like transparency (since that was added in 3.0 I think for pen)

Last edited by medians (March 15, 2024 03:58:00)


Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
ultra_code_9
Scratcher
7 posts

Pen, touching changes please!

I think the rgb colour picker for pen would make more sense to use and it would make colour detection and rendering easier. It also might make more sense since, the colour picker in costumes users tthe rgb colour format and having the same colour format in all of the colour systems in scratch would make things easier. Maybe something similar could even be a applied to the color effect block (so you can set the colour to an rgb colour value)?

Powered by DjangoBB