Based on the suggestions here:
I have updated the C&C library with first class colors and hidden blocks. See the project for more details.
https://snap.berkeley.edu/snap/snap.html#present:Username=mark4sisb&ProjectName=C%26C%20Cleanup
Based on the suggestions here:
I have updated the C&C library with first class colors and hidden blocks. See the project for more details.
https://snap.berkeley.edu/snap/snap.html#present:Username=mark4sisb&ProjectName=C%26C%20Cleanup
should this block be hidden? I’m not quite sure what the purpose of it is.

If I made a version of this block with an input to show how much to darken it, could you replace it?
![]()
Also, could I make some of the blocks use more modern snap stuff to make it faster?
I would be glad to - with @bh’s permission. It is his library. Note: you may want to make the slot optional (variadic) - just something to consider.
Sure. I was more focused on ensuring I didn’t break anything while updating it to use first class colors. Remember to ensure that nothing breaks if this library is imported into a project that already uses the C&C library.
See my note in the project:
The purpose of this block is to be used as an input to
![]()
in order to weight colors unequally in a mixture. For example,
The reason it’s a separate block instead of having two inputs (color and weight) for each color in the MIX block is to keep simple cases simple (and also that input groups hadn’t been invented yet). I suppose now we could have the variadic input to MIX be an input group with a color and a 0/0/1 variadic weight.
PS I would be overjoyed if this were faster! I started working on making it more data-directed (see the SET PEN block) but never finished.
interesting. ill work on
and the speed.
Also please hide all the blocks with the pencil symbol ✐ in their title text. (That’s another feature that wasn’t invented yet when I made the library.)
Great! I had hidden most of the blocks with the pencil symbol, just not these two:

I will update the project accordingly.
Oh, and I changed the menus for the set pen et al blocks to be scripted.
I would keep them in.
Let me know when you guys have agreed on a final product! :~)
@bh, thoughts? If they are kept in, I’m leaning towards replacing the pencil icon with the paintbrush.
PS: I also plan to make changes to the just crayons library - thus far all I know is needed is hiding the global variable.
@bh, thoughts? If they are kept in, I’m leaning towards replacing the pencil icon with the paintbrush.
Yes, of course; the paintbrush is for things the user should use, and the pencil for things that would have been hidden if hiding blocks existed back when I made the library.
So you approve of those blocks
being shown in the library?
I guess so, although the really right thing to do would be to add CMYK as an option along with RGB, HSL, etc. in COLOR FROM and FROM COLOR. These two CMYK blocks seem disconnected from the rest of the color system.
this.
???
@sathvikrias wants
Oh.
halfway done.