-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loop number sequence #26
Comments
@LosOmatic I can't think of any ready-made scripts for this yet. Tell me about real tasks where you need repeating series of numbers? It doesn't seem to be a common need for any designer. |
Imagine a 10x10 grid which has a single unique number in each square which corresponds to a color; 3=yellow, 10= red, etc... easiest example is Pixel Art/Color-by-Number. Only 12 colors are to be used in the grid to form your picture. You want to show your client how the color-by-number grid would work by simply randomizing the numbers in the grid with only numbers 1-12. So instead of 100 squares filled with 1-100, it would be 100 numbers using 1-12 either sequentially or randomly but only those numbers. Heck maybe its just a different script (and I'd happily pay for) where you can assign numbers/letters to the colors of your selected objects. How it would work: You'd select your objects and run the script. It pulls all unique color values of the fills (or strokes) from your selection, and you assign a number/letter to each unique color value, example #090909 = 1, #555555 = 2, #009900 = 3, etc. Hit Finish and it would output a number/letter above each object in your selection depending on the assigned color value. SO if you select your pixel art grid that's finished and run the script, it would show numbers 1-12 (depending on the color) above each square in your selection. Think of your Beautify Swatch Names Script. Thanks for your time. |
I often hear about painting by numbers. There are different free sample scripts, which have their own limitations, requirements to prepare vector files. Adobe Community — only works in CMYK. You need to change the line Modification from Adobe Community — Here you need to add all used colors to the swatches, make them global and name them as numbers. The script will display these spot names on top of the selected objects Reddit — works only in RGB, does not support spot color fills. Places numbers in the center of the bounding box of each selected object. If the object has a complex curved shape, the number may be outside the filled area |
Appreciate it the response. will check these out. |
For MakeNumberSequence script, could there be an option to loop through a set of numbers?
Example, you have a 20 number sequence and instead of generating the numbers 1-20 in order, or randomly, you only want to use numbers 1,2,3, and 4. Those numbers can generate randomly, or in order using the same options already in the script (etc. incremental) within that 20 digit number sequence. Two boxes could allow a user to specify a starting number and and ending number. In this example, 1 would be the starting number and 4 would be the ending number. It could read "1 2 3 4 1 2 3 4 1 2 etc." or "1 4 3 2 2 4 1 3 2 etc."
The text was updated successfully, but these errors were encountered: