Has anyone discovered how to identify the EXACT (x,y) coordinates of the points in a free form gradient?
Yes, I know you could drag guides and get generally close, however we are trying to find the exact coordinates.
Any help would be appreciated!
There is nothing I know of inside the application to get 100.00% accurate coordinates on freeform gradient stops. You can also use window >> info and hover over the gradietn stop, but that is as accurate as pulling guides, just quicker.
You would need need a script to pull from the code.
Gradients are quite forgiving with the color chanegs being subtle over an area rather than hard stop changes of a noise type gradient. Have to ask: do you really need this level of accuracy?
@MikeGondek I've got a gradient with over 70 stops and I'm asked to give coordinates for an engeneering team that wants to try and create it by programming. There are a few plug-ins where you can measure different kinds of objects etc. and have them all neatly put out with text, lines and such. So I could draw dots on theplace of one of these freeform gradient stops, but either I'm missing something, or it isn't really suited for the ask.
in this sample I made a triangle with one side sitting on the horizon, applied freeform gradient and left the default 3 points at each corner.
then, saved the file uncompressed, then opened it with a text editor and searched for "ColorPoints"
as you can see below, the color of each gradient point is listed in each line that ends with a k, the four values are the cmyk values in decimal format
the next line gives you five numbers, the last two are the x,y coordinates of the point. I'm pretty sure the numbers represent the percentage of the size of the shape, so 0.5 would be in the middle of the shape.
/SmoothShadingStyle : (Adobe Diffusion Coloring Style) 3 /ColorPoints , 0 O 0.597222805023193 0 0.883298993110657 0 k 1 w 1 1 0 0.074999953727292 0.949999974130389 /ColorPoint , 0.885343670845032 0.808224558830261 0 0 k 1 1 0 0.925000030347277 0.949999974130389 /ColorPoint , 0.088502325117588 0.152040883898735 0.31189438700676 0 k 1 1 0 0.499999992037285 0.100000000032654 /ColorPoint ,
since the engineers are writing their own program, give them that portion of the text, they should be able to figure it out.
hope it helps
Thank you very much, going to give this a go. Appreciate your generosity.