Skip to main content
faredjhi
Participant
November 9, 2017
Answered

How do you do this effect?

  • November 9, 2017
  • 2 replies
  • 895 views

I've been trying several times to make a triangle tunnel effect. I've tried using 'Grid' but it does not align as a triangle.

I would gladly appreciate your help!

This topic has been closed for replies.
Correct answer Rick Gerard

One easy way to get this effect and keep the stroke width consistent is to use a triangle shape layer and add an expression to the size that uses exponents. The expression looks like this:

Math.pow(index, 2.5)

This takes the layer number, the index, and raises it by the power of 2.5. Set the second number to anything that gives you the faked perspective you desire.

Then add a shape layer with a single line extending from the center of the comp to an outside corner and add a repeater for rotation. Decide how many copies you want, 30 for example, and divide 360 by that number to get the rotation offset (360/30 = 12). You'll get something like this which you can pre-compose and then use as a track matte for a gradient filled shape layer and then add glow.

A second option is to use Radio Waves and a mask. You can create any shape and get movement. You can then also use shape layer/repeater trick to get the radiating lines.

Then you can do the same pre-comp and use as a track matte trick go get your gradient and glow.

There are other options. It just depends on what exactly what you are trying to do. I hope this gets you started.

2 replies

Rick GerardCommunity ExpertCorrect answer
Community Expert
November 9, 2017

One easy way to get this effect and keep the stroke width consistent is to use a triangle shape layer and add an expression to the size that uses exponents. The expression looks like this:

Math.pow(index, 2.5)

This takes the layer number, the index, and raises it by the power of 2.5. Set the second number to anything that gives you the faked perspective you desire.

Then add a shape layer with a single line extending from the center of the comp to an outside corner and add a repeater for rotation. Decide how many copies you want, 30 for example, and divide 360 by that number to get the rotation offset (360/30 = 12). You'll get something like this which you can pre-compose and then use as a track matte for a gradient filled shape layer and then add glow.

A second option is to use Radio Waves and a mask. You can create any shape and get movement. You can then also use shape layer/repeater trick to get the radiating lines.

Then you can do the same pre-comp and use as a track matte trick go get your gradient and glow.

There are other options. It just depends on what exactly what you are trying to do. I hope this gets you started.

faredjhi
faredjhiAuthor
Participant
November 9, 2017

Oh wow this is my first time posting on this forum and I can't say thank you enough for the helpful tutorial you showed!

Thank you once again! Cheers

Community Expert
November 9, 2017

Make sure that you put the expression on the triangle (polystar) outer radius, then duplicate that shape layer. This will not work if you duplicate the Polystar on the shape layer. The sample comp I created (top screenshot) has a total of 15 layers. The top one is the lines, the one with the modified properties of the layer revealed, is layer #13.

Let me know if you have any other problems.

Mylenium
Legend
November 9, 2017

A bunch of simple shape layer elements can easily create this - a triangle poly, a Repeater and then a similar setup for the perpendicular lines.

Mylenium