The only rule is that resulting image must consist of single line, and duotone color, and the input must be a photograph. You can make background as transparent. There can be overlap or even stylistic twist.
Example:
The only rule is that resulting image must consist of single line, and duotone color, and the input must be a photograph. You can make background as transparent. There can be overlap or even stylistic twist.
Example:
I get the feeling you have one prepared?
I donât really understand what it is about TBH.
EDIT: Now, with the example, I get it.
I only have a theory on this. Use arrays, and draw curves using array as reference until there is enough details or coverage. When itâs a challenge, it is something thatâs pretty difficult to code up and the purpose of the challenges I make is to try to find a solution.
Provided a example
A common art exercise. I would like the squiggly lines outside of detail regions to be less dense and angular, and detail regions to be less random as to preserve the textures.
Not using GâMIC, sorry, but Lithographic effects using IM.
Pretty cool stull, Reptorian; didnât know you can do TSP artwork in GâMIC⌠If you created the preset, hope you share it in your GâMIC plugin preset. Now if someone could do a variable density Hilbert curve render (posted request below). lol
OK, Reptorian. Because I have no clue how you did this in GâMIC, I had to use tools that I know of to do so.
If I read correctly, I donât think Rep has a solution yet; hence the challenge. Yours is different in that I donât think there is overlap of the path.
Yeah; we had a thread on Traveling Salesman (well Sales person) at GIMPChat a while back. Still have to tools (and at least a good memory for how to use them), afre. lol
ref: Human Skulls â 54 Free Images | Media Militia
Expand below for SVG output:
Picked a skull from Media Militiaâs site and extracted it on white background and did some additional magic before feeding it into Voronoi Stippler and then that result into TSP script. Then I smoothed the path some before stroking the path. Just a bit more fun before I hit the hay for another 10 hour tomorrow (well later today). lol
TSP was added to gmic a while ago with command tsp
- mentioned here:
Should have known the GâMIC team would have done so by now, GC. lol
Need to see if itâs available within the GIMP plugin itself since I donât CLI.
Voronai Stippling sounds like a cool idea for GâMIC. @David_Tschumperle : Is modifying Voronai is feasible? In addition, it would be nice to have just the coordinates of vertexs as a image instead of points.
Oh, feathers. A frivolous way to burn off a Sunday morning, with bagels and a smear of cream cheese.
foo:
sp portrait2,1024
+r2dx. 25%,5
luminance.
apply_curve. 1,0,0,90,0,160,255,255,255
n. 0,1
oneminus.
noise. 0.4
threshold. 65%
pointcloud. 3
channels. 0,1
*. 4
tsp. ,
permute. cyzx
nm. points
i 1024,1024,1,1
nm. canvas
eval {V=crop(#$points);polygon(#$canvas,-size(V)/2,V,1,0xffffffff,255)}
keep[0,-1]
And then:
gmic foo.gmic foo orig.png tsp.png
Traveling salesman version:
Feeding ~4K â ~7K of points to âtspâ probably shouldnât be done on @afre 's celebrated laptopâŚ
@grosgood
Thank you for this script using âtspâ.
Really cool, grosgood; great result too, samj. Hopefully the code will run in GâMIC GIMP plugin.
Theirs is a deconstruction of both repâs and yours. Ha ha.
Just tried; no dice. I guess to use TSP in GâMIC, you have to go CLI. lol
So, it doesnât work from the custom command filter? I canât try because