0

This question already has an answer here:

I am trying to create this look on an image but not sure what program was used to create it. I have illustrator and photoshop but not sure if there is a filter I could purchase to help start the process.enter image description here

marked as duplicate by Danielillo, Scott, WELZ, usr2564301, Ovaryraptor Nov 5 '18 at 15:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

At first this seems to be a quite common "how to triangulate" -case. But it's more complex.

The bottles are probably revolved (=lathed) 3D objects made in a 3D program. They are side views, so a competent Illustrator user also draws them quite fast manually.

Illustrator's 3D revolve effect doesn't make triangle networks. It makes curved wireframes. In theory they can be straightened with Object > Path > Simplify after the result is expanded. The result needs so much manual editing that I see the straightening as a way to get polygonal model only theoretical.

Very easily there's too dense and too sparse areas and numerous double lines. Heavy manual editing is a must. But if you can accept the need of heavy editing and do not want it as "triangles only", then Illustrator's 3D is possible. I do not recommend it. Use a real 3D program or draw the shapes manually.

A 3D program can make good coarse enough triangle mesh with minimal work and export it as 2D vector triangle collection.

There are several different triangulated versions of the same shape. Part of them can be made in 2D with triangulation plugins and as said previously, also manual drawing is possible. You can make a copy of all triangles to another layer, unite them to one shape with Pathfinder panel and retriangulate it or divide it to polygons otherwise.

If you can accept other polygons than triangles, simply draw a complex path over the shape to be divided. Select both and apply Pathfinder panel function divide. An example:

enter image description here

  1. a closed shape

  2. the dividing shape is inserted (=some random clicks with the Pen)

  3. pathfinder panel Divide is applied

  4. the result is ungrouped, all black is locked (select the same stroke color) and the rest are deleted

  5. to test the result the locking is released and some shapes are moved

BTW. Inkscape has Voronoi pattern generator extension. You can make there a Voronoi pattern, save it as SVG, import to Illustrator and use it to divide a shape just like with a handmade pattern. It's not triangles, but surely better than shapes which are easy to draw manually. See an example:

enter image description here

In a comment User Welz suggested web service Trianglify which generates triangle patterns. I tested it and it worked. But the free version didn't fill my shape with triangles, it only gave a rectangle full of triangles. It was downloadable as SVG and it could be used to divide shapes.

Different triangulations have different strokes. Line widths and colors are not same. Some are not lines at all, but dot patterns. Illustrator's Scatter Brush with randomized size and placement generates them easily. Only a filled circle must be inserted to the brushes collection and define to be a scatter brush.

an example:

enter image description here

Some triangles are filled and some are ripped apart to make splinters. You see also that many triangles have circular dots at the vertices.

If one adds circular arrowheads to a triangle which is a closed path, he gets only one dot. You can still have plenty of dots if you set the triangles to have a circular arrowheads in the beginning of a path, because in a mesh the triangles have different starting nodes.

You can split all triangles to separate lines with an old trick. Then every node can get a dot by adding circular arrowheads to the beginnings of the lines.

The old trick:

enter image description here

In the left there are a few closed triangles. Add one anchor point to one triangle. It's here in the middle of the red circle.

Select all anchors by dragging with the white arrow tool, then deselect the new anchor by clicking it + holding shift at the same time.

Tool control bar has now "Cut path at selected anchor points". It vanishes if all anchors are selected. Click it!

Select all lines and insert circular arrowhead to beginnings. NOTE: Select align option "Extend arrow tip beyond the end of the path". Dots are centered to line ends and overlapping dots have same place.

You cannot move nor fill a part of the triangles because they are separate lines. Make a copy to different layer, lock the original and fill the wanted triangles with the Shape builder in the new layer. In the next example three triangles are filled and moved a little apart to show they are separate, Unused lines in that layer are deleted. In the left just one is getting a fill from the Shape Builder.

enter image description here

The tricks in use - an example:

enter image description here

No areas are colored to keep all well visible. The starting point is a very simple and coarse 3D revolution. Its exported as 2D Illustrator compatible vector from program Shade3D which handles polygon meshes. The original is at right, the left is ripped a little apart and got new stroke with dots:

enter image description here

The original is copied and united to make an outline. It's divided with Voronoi pattern (made in Inkscape). A couple of polygons are ripped apart. The stroke has got scatter brush. The used version is in the left and in the right there's a version before applying the scatter brush:

enter image description here

Another copy of the outline is used otherwise. It's used to envelope distort the Voronoy pattern to the form of the outline (Object > Envelope Distort > Make with Top Object). The result is expanded and every line got circular arrowheads (different sizes in the beginning and the end). The used version is in the Left. Version in the right has thicker black stroke and bigger dots only to show it:

enter image description here

Envelope distortion makes straight lines easily curved, but everything can be straightened with path simplifying. Here the curves are left as is.

Finally one splinter has also got the scatter brush.

The Voronoi pattern is a fill pattern in Inkscape when it's created into some shape with Extension > Generate from Path > Voronoi Pattern. It must be converted to object with Object > Pattern > Pattern to Object. The result is a compound path. All lines become separate with Path > Break Apart.

  • 1
    You can use this script for the dots on the points. – WELZ Nov 4 '18 at 21:19
  • 1
    And this script for the Voronoi generator in Illustrator. – WELZ Nov 5 '18 at 12:40
  • @WELZ these additions can be useful. Do you know a free shape triangulator for Illustrator? Voronoi patterns contain very few triangles. – user287001 Nov 5 '18 at 13:07
  • 1
    Not sure, you can use Trianglify.io to make the shapes, download them as an SVG run the script "Dup at..." to place dots on all the anchors, then convert the triangles to single color outline. (With this method you can't really choose a custom shape - I managed to accomplish this using the above method and a clipping mask) – WELZ Nov 5 '18 at 13:26
  • @WELZ the generated freely downloadable SVG pattern from Trianglify (also freely usable) can be used like Voronoi pattens. Edges are not triangles after division, but it can be fixed manually. Without fixing the result is visually very close to properly triangulated one. Fixing by adding line segments makes the edges too dense, it's better to accept incomplete triangulation. – user287001 Nov 5 '18 at 19:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.