Learn how to make trippy, infinite tunnels! The first part of the video will focus on generating cool geometric patterns, and in the second half we will create the loop using After Effects Expressions. Subscribe for more tutorials and creative experiments: https://www.youtube.com/channel/UCsHptvmlyZx1jXm8F6ZIKnQ Follow me on Instagram: https://www.instagram.com/tomino_tumultuous/ 00:00 Intro 00:16 Making a Mandala pattern 01:14 COLOURS 01:53 Making different patterns 02:26 Patterns Prep 02:46 Time Remapping Expression 03:17 Scale Expression for Patterns 03:50 Animating the Zoom 04:29 Maths explanation 05:28 LOOPING IT 06:26 it's done! enjoy :) Expressions ***NOTE: PLEASE READ*** I can't used angled brackets in this description box (i.e. "more than" and "less than") so please replace them in After Effects - they are marked below as *mt* and *lt*. Pause the video at 03:59 to see it there as well. Scale property expression for the Null: scafac = 3.6; //scale factor s1 = 100*scafac; //starting scale s2 = s1*Math.pow(scafac,thisComp.numLayers-6); //ending scale (end of tunnel) t1 = 0; //start time t2 = thisComp.duration; //end time if (time *lt*= t1) { s = s1; }else if (time *mt* t1 && time *lt* t2){ t = time - t1; T = t2 - t1; k = Math.log(s2/s1)/T; s = s1*Math.exp(k*t) } else{ s = s2; } [s,s] Time remapping expression for the patterns: if(thisComp.numLayers-index==4){ t=thisComp.layer(2).timeRemap} else if(thisComp.numLayers-index==3){ t=thisComp.layer(3).timeRemap} else if(thisComp.numLayers-index==2){ t=thisComp.layer(4).timeRemap} else if(thisComp.numLayers-index==1){ t=thisComp.layer(5).timeRemap} else if(thisComp.numLayers-index==0){ t=thisComp.layer(6).timeRemap} else{ seedRandom(4,true); t = random(4); } t Music from Epidemic Sound