Demo of pen custom blocks - drag sliders to change hue, saturation and lightness (together known as HSL). >> More info: http://en.wikipedia.org/wiki/HSV_color_space << The values for Hue and Lightness correspond to those supplied to the built-in "set pen color" and (almost) "set pen shade" blocks. The saturation blocks provide an extra level of control over the pen colouring (its 'greyness'), not available through the built-in blocks.
***NOTE: this doesn't work correctly in Scratch 3 because that doesn't detect 'mouse down' when you drag the sliders (which Scratch 2 did). You can make it change colour after changing sliders if you click somewhere in the background. All the custom blocks will still work correctly if you use them in your projects. ------------------------ The "set/change pen saturation" and "set/change pen HSL" allow extra pen control (not provided by the built-in pen blocks). When using these blocks, you also need to replace the built-in "set/change colour/shade" with the supporting blocks. SEE comments INSIDE for more info and examples. Note that the shade is very slightly different to the built-in shade, with zero producing absolute black (unlike the built-in pen block). Please scatter liberally and at will throughout your own projects :) (Though it'd be nice if Scratch had saturation built-in... please...?) Thanks to @Wes64test's recent RGB projects for reminding me that I should've made this project several months ago when I first created these blocks for use in InterXeptor 3D. And thanks to @JTxt for the original inspiration at that time! Also included in this project, for convenience, are the off-screen pen-drawing custom blocks, also first used in InterXeptor 3D, and previously released as a project for the first step of the 3D framework studio: http://scratch.mit.edu/studios/202972