Rank: Newbie
Groups: Approved
Joined: 9/18/2018(UTC) Posts: 7
|
Hi, this is simple request: please, make an option for primary and secondary strokes separately to enable random color strokes. Maybe its me, but sometimes i change stroke colors just because im getting tired of one. Also sometimes i just paint stroke all over the screen for no reason - its relaxing plus you don't have to switch to some painting software - strokes are already there! Same with my keyboard and mouse lighting effects - sometimes i change them just because. You know, nowadays there is RGB everywhere and would be cool if some of it will be implemented in the StrokesPlus.
Oh and another request - add an option to make stroke look like rainbow with no particular color selection. Thanks!
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
I added a couple things in 0.5.6.5 to allow you to do this via script - the UI already has 8 million options as it is, lol. Global Actions - Mouse Events - ReleaseCheck the box, then use this script: Code:
function randomColor() {
var rnd = new System.Random();
var newColor = new StrokesPlus.Types.WinApi.COLORREF();
var r = rnd.Next(256);
var g = rnd.Next(256);
var b = rnd.Next(256);
// Stroke colors cannot be pure white
if(r == 255 && g == 255 && b == 255) {
b = 254
}
newColor.R = r;
newColor.G = g;
newColor.B = b;
return newColor;
}
// Primary stroke color
sp_config.PenColor = randomColor();
// Helps to keep the two colors different from each other
sp.Sleep(15);
// Secondary stroke color
sp_config.SecondaryPenColor = randomColor();
// Refresh colors
sp.UpdateStrokeColors();
Every time you release a stroke button, the colors will be changed. Rainbow is out of the question due the way the drawing happens via GDI, which is used for performance and memory purposes - not like some resource expensive DirectX layer or anything fancy.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close