![]() Still not too bright, so main still has to say where, what colour and opacity, and also (drawing an ellipse) how wide and tall the ellipse should be, and whether it should be rotated. With width in mind, let single-pixel-drawing bs_pixel_set have a rest, and bring in beefy bs_ellipse who can draw a whole ellipse. Showing a little independent scheming, main can also ask what the current brush width is (from minion bs_width) but as usual main has too much to remember as chief minion, so makes a local-variable-bot, width, to remember it. Let us allow the power to go to our heads and take another step - that heady feeling is why many become supervillains, after all. So, the updated script is: function main(x, y, p) main has to multiply bs_opaque’s reply by 255 before passing it to opacity, the local-variable-bot, to remember and pass on to bs_pixel set. 0.5 is half transparent), while poor bs_pixel_set only understands opacity values of 0 to 255 (e.g. bs_fore only knows how to do that, but does it well and does not need any more instructions.īs_opaque can check what the brush opacity is, but speaks a slightly different dialect, reporting the value between 0 and 1.0 (e.g. Main sets the fabricator to make 3 local-variable-bots, and commands minion bs_fore to read the current foreground colour values and assign those to the local-variable-bots. Best not to offend the boss when they are a supervillain.įortunately, there are several communication minions who can monitor FireAlpaca settings, and main can command them to give the variable-bots their values. Black is a fairly safe colour for a supervillain, but FireAlpaca is the artistic type and might have another favourite colour at the time. 7 notes Making brush scripts, part 3 Minion with power: A minor brush scriptIn part 2, main told each of the local-variable-bots what value they should be.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |