Skip to main content
Participant
Mar 14, 2025 8:14 AM UTC
Answered

Create a vector halftone effect from different shapes

I hope someone can help me. I'd like to create a halftone effect that consists of different shapes, like in this example. I can find information on how to modify one shape—from a circle to a specific shape—but not on how to incorporate various shapes randomly into the halftone effect. Hopefully, someone knows the solution. 

Ton Frederiks
Ton FrederiksCorrect answer
Community Expert
Mar 14, 2025 10:15 AM UTC

Maybe do it in steps. If you have 6 different shapes use a script to randomly fill dots with 6 colors.

Then select objects with the same color and use a script to replace it with one of your shapes. Repeat for the remaining colors.

12 replies

Ton Frederiks
Community Expert
Ton FrederiksCommunity ExpertCorrect answer
Community Expert
Mar 14, 2025 10:15 AM UTC

Maybe do it in steps. If you have 6 different shapes use a script to randomly fill dots with 6 colors.

Then select objects with the same color and use a script to replace it with one of your shapes. Repeat for the remaining colors.

Translate
Participant
Mar 14, 2025 11:51 AM UTC

Hi Ton, that sounds like a good workaround, where can i get these kind of scripts?

Translate
Ton Frederiks
Community Expert
Community Expert
Mar 14, 2025 12:21 PM UTC

Hi Jeroen, these are some of them:

Random Swatches fill

https://github.com/psstmatt/Random-Swatch-Fill

Replace items script:

https://github.com/alexander-ladygin/illustrator-scripts/blob/master/replaceItems.jsx

Translate
Monika Gause
Community Expert
Community Expert
Mar 14, 2025 8:36 AM UTC

You could do it with Inkscape (it's free), but it would need a little preparation and math. Here's a video when you create it from the object that has all the elements in it at once: https://youtu.be/xeeAhsSwbx8

 

When you instead do the 9 objects one by one, you should get what you want.

Translate
Participant
Mar 14, 2025 8:42 AM UTC

Hi Monika, thanks you for your answer, it looks like you can only add one shape not multiple shapes

Translate
Monika Gause
Community Expert
Community Expert
Mar 14, 2025 8:56 AM UTC

If you group them you can do it with multiple. But as I already wrote, in your case the position of those 9 elements should not change, only their size and that is where it gets tricky.

Translate