08-27-2020, 02:19 PM (This post was last modified: 08-27-2020, 02:24 PM by Ofnuts.)
Defintely there. To decode,
1) find the tile size of the backrgound (duplicate the layer, set top to difference mode and see by how much you must shift it H and V to make it black again.
2) clipboard copy a rectangle selection of that size of the backrground (actual location or pixel alignment is unimportant)
3) bucket fill a layer with the clipboard pattern
4) put over the layer with the "hidden" text, set to difference mode and shift to minimize background
In fact when you shift the image over itself to determine the tile size you can already see the initial image more clearly:
08-27-2020, 11:24 PM (This post was last modified: 08-27-2020, 11:45 PM by Krikor.)
Even if I select the Gradient or Pallet options, the filling is either Fill, Stroke or Paint, always produces a single color, never anything like the selected gradient or pallet.
I thought it might be the Samj's Portable version I use (2.10.21). But the same is true with version 2.10.12.
08-28-2020, 06:32 AM (This post was last modified: 08-28-2020, 07:14 AM by Ofnuts.)
(08-27-2020, 11:24 PM)Krikor Wrote: Even if I select the Gradient or Pallet options, the filling is either Fill, Stroke or Paint, always produces a single color, never anything like the selected gradient or pallet.
I thought it might be the Samj's Portable version I use (2.10.21). But the same is true with version 2.10.12.
How do you get multicolored results?
Okay, I think I found the colored stone paths!
ofn-stroke-fill-paths takes paths, so you have to break the path into its component strokes (for example with ofn-path-edits>Break path apart).
The problem is that when you have nested strokes, if the inner stroke is filled before the outer stroke, you will only see the outer stroke in the result. To mitigate this, OTP creates a path where the strokes are sorted by length, so "Break path apart" will put the longer strokes (that are hopefully the outer ones) at the bottom of the stack, and OSFP will paint these before the shorter (and hopefully, inner) strokes. This is also why I added the new "Break path part by nesting order" option in OPE. This produces a path with all the outer strokes, one with the strokes nested in any of the previous, etc...
Caution: the nesting discovery algorithm in OPE is reasonably good, but the very contrived shapes produced by OTP break its main optimization, so the function takes time (several minutes for a 10px pattern on a 1000x1000 image, on my rather powerful PC)
(08-28-2020, 07:28 AM)denzjos Wrote: Ofnuts, thanks for the script. I can use it to make a simple hatch screen for hatching technical drawings.
Yes, but complete overkill IMHO. I have other scripts to render grids with much simpler paths. And you can make a hatch very quickly with the Blend tool (select shape: "Bilinear", repeat: triangular, and drag a small (4-10px) diagonal segment).