stippled line variable point spacing from raster
 1-13  14-33  34-53  54-60

Previous
Next
 From:  bemfarmer
10809.54 In reply to 10809.50 
Thank you very much Michael.

I recall dropPoint() from a while back.

Regarding curve self intersection, (crossover/ overlap), potential problems, options might include:
Ignore it and hope for the best?
Test for it and eliminate the point? Or eliminate the point?
Test for it and work around somehow?
Rely on user to select only "well behaved" curves?

During a google search of ordering points elsewhere on the internet, I remember reading something like:
"once you have the parameter "t"..."
but it was vague and a meaning did not register.

Name of script?
My current name favorite is stippleArray.
Previously the name was going to be luminArray or luminanceArray, or gradientArray, but
Lumin is the name of, or in the name of, several companies and products.

I guess Peer is doing stipple research or stipple addition?

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
10809.55 In reply to 10809.51 
Thank you Larry for the link to your script.

I like your script.
It is alphabetical, ignoring the underline prefix.
It does duplicate listing of some scripts.

(I'm thinking the underline is obsolete?, Or does not add much to the display?)

I do still want a few of the other customUI features...

Maybe MoI6 could have an "detailed" user interface for these "extra" scripts?
Subcategories?, Descriptions? ...

- Brian

I put "extras" in the MoI startup folder in AppData, (Windows 11)

EDITED: 18 Aug 2022 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10809.56 In reply to 10809.54 
Hi Brian,

re:
> Regarding curve self intersection, (crossover/ overlap), potential problems, options might include:
> Ignore it and hope for the best?
> Test for it and eliminate the point? Or eliminate the point?
> Test for it and work around somehow?
> Rely on user to select only "well behaved" curves?

I don't know enough about what result you're trying to get from your script to advise on this.

But if the goal is to have it work as an adjustable function curve, then it would probably make sense to expect that the curve should not be self intersecting and should have just one y position for every x value.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
10809.57 
With GIMP2.10.32, after an ordeal due to not knowing the user interface, I was able to make a gradient that looks much like PEERS.

GIMP2.99.10 is in test phase for eventual GIMP3, but still has tiny icons on 4k monitor. Maybe the icons can be enlarged, after another ordeal.
The user interface apparently has, or will have, differences from older versions.
The newer test version has sRGB.
Transparency setting gone???

- Brian

EDITED: 18 Aug 2022 by BEMFARMER

Image Attachments:
Size: 325.5 KB, Downloaded: 14 times, Dimensions: 1000x500px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
10809.58 
With Windows 11, the taskbar can be set to be a tiny sliver at the bottom of the screen.
Hover over it opens up the taskbar.
RightClick taskbar brings up Setting > Personalization, go to Taskber behavior > Checkbox: "Automatically hide the taskbar"

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Larry Fahnoe (FAHNOE)
10809.59 In reply to 10809.55 
Hi Brian,

> It is alphabetical, ignoring the underline prefix.
> It does duplicate listing of some scripts.

> (I'm thinking the underline is obsolete?, Or does not add much to the display?)

Hmm, I've not noticed it duplicating scripts in my usage. I wonder though, do you happen to have something like two scripts named foo.js and _foo.js? That would produce an apparent duplication, but only because there were two scripts with related names. If you can provide any other clues as to what you're seeing of this duplication I'd appreciate them.

I believe the underscore prefix was an early means of keeping users' scripts separate from MoI's scripts & is now unnecessary with AppData/commands. However since the prefix is part of the name I wanted to display it, but alpha sorted as you note.

--Larry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
10809.60 
This site explains RBG colors well, and the mouse can hover over a color to see the values.
https://www.rapidtables.com/web/color/RGB_Color.html
There are other tables as well.

Let a gradient be 256 pixels wide.
There are only 256 values for each R, G, or B number.
So a gradient made up of grey colors, from White to Black, could have RGB numbers such
that Rnum = Gnum = Bnum, in the integer range of 0...255.
The numbers for White are ( 255, 255, 255 )
The numbers for Black are ( 0, 0, 0 )
The average of the three numbers could be used.
To add up various sums of numbers, each should be subtracted from 255, to invert a White to Black gradient, to calculate when a sum exceeds a threshold number. (Assuming MoI points are more dense for darker regions.)
For 256 pixels the sum of the numbers could be an arithmetic series. As well as sums of sequential terms of subsets of the values.

The number of terms whose sum exceeds a threshold number can be calculated, with other than brute force:
https://math.stackexchange.com/questions/1624580/how-many-terms-in-arithmetic-series-where-sum-1000

Such a gradient image that is 512 pixels wide could have pairs with the same average value of the pixels.

- Brian

EDITED: 19 Aug 2022 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-13  14-33  34-53  54-60