ScratchData LogoScratchData
Back to quast's profile

Color Palette Control

QUquast•Created July 19, 2013
Color Palette Control
66
52
1724 views
View on Scratch

Instructions

This is not a closed project itself, it just brings you some controls: a button with mouse_over, mouse_pressed and mouse_out, a slider with configurable slider_min, slider_max,slider_value (that is the default value when set and the return value) and a palette color chooser control. It returns the hue and satturation of a clicked color, the palette grid is bind to the slider in this example. In http://scratch.mit.edu/projects/11494259/ i mentioned a bug, in this version its fixed by a workaround. This project was intended to be used in other projects, feel free to copy the code.

Description

Important: the bug did not happen in the scratch 1.4 version where this project was imported from. Thanks to s_federici who made a remix of 11494259 and found out that its up to the positioning of the painter. Workaround as descibed by DadOfMrLog http://scratch.mit.edu/discuss/topic/11213/ worked, i moved every point +-0.1 between pen_down and pen_up. Remove that shifting to see the bug's pattern. Thanks to Mister_Guacamole for helpfully sugestion.

Project Details

Project ID11493887
CreatedJuly 19, 2013
Last ModifiedJuly 22, 2013
SharedJuly 19, 2013
Visibilityvisible
CommentsAllowed