Reacting Grids in Adobe After Effects

Reacting Grids in Adobe After Effects

ECAbrams

3 года назад

96,855 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Nathalia Tappan
Nathalia Tappan - 28.08.2023 00:29

As usual, when I have an AE problem I dig through the decade of wisdom in your channel. I haven't found yet my answer, so I figured I'd ask while I keep searching.
If my grid has to be of hexagons, and I want to very precisely (namely the entire shape at once, not gradually) animate either the stroke of it, or the fill, on a ripple effect towards the outside the comp, how would you go about it? So once a shape is animated, it's very surrounding shapes get animated next.

I'm thinking maybe some sort of gradient map, or manually design/animate it, but I'd hate to go about it manually if I could avoid it.

Next bit of the problem: let's say I start two ripples from different positions and wanted to point out the intersecting parts with yet a different color? That'd be even more important if I could change that efficiently, just in case the client wanted to make it ripple from other spots.

Let me know if your incredible brain has any ideas that I could explore...

Thank you again for all the content we get to explore when we hit a wall!

Ответить
24fps
24fps - 13.07.2023 15:03

Fantastic Video Mr. Abrams! I was looking to sort out a problem and I think this is the starting point of the solution, I'm not that strong with expressions though, maybe someone can give me some help:

I'm trying to have blocks in a cluster twitch randomly on and off with this expression on every block:
myStart = framesToTime(10);
frames = thisComp.layer("FX Control").effect("Hold Frames")("Slider");
seed = Math.floor((time - myStart)/framesToTime(frames)); seedRandom(seed,true)
random(1)<0.5 ? 0 : value

Is it possible to map them to a letter shaped Hit Box (real font/mask/shape layer/ several nulls in formation? doesn't matter) via a gaussian distribution? So that inside the the letter, the percentage of on/off leans more towards 70% on? and outside 30% like feathering out? Plus the number of frames each random value is held goes down, aka frequency goes up inside the letter shape? And animate this behaviour smoothly on and off, like a chaos - order slider?
So far, when I've tried to animate or randomize the frames held variable the random operation reverted back to giving a value every frame. And how would I adjust the "var d" and "var r" part to work with my random line? Would it be something like "random(1)<(1/distance) ? 0 : value"? But how would I make the hitbox shaped like a character and not a circle or square?

Chat GPT wasn't much help so far, because I think I can't prompt accuratly enough... I'm a n00b at coding :(

I was thinking to brute force it with toggle hold opacity keyframes, but I think I'm gonna go insane if I do this and then if I needed to change something that wouldn't work out very well....

Ответить
Laka baka
Laka baka - 05.07.2023 14:20

var p1 = thisLayer. transform. position;
var p2 = thisComp.layer("Null 1").transform.position;
var ScaleFrom = thisComp.layer("Adjustment Layer 1").effect("Scale From")("Slider");
var ScaleTo = thisComp.layer("Adjustment Layer 1").effect("Scale To")("Slider");
var Hitin = thisComp.layer("Adjustment Layer 1").effect("hitbox Inside")("Slider");
var HitOut = thisComp.layer("Adjustment Layer 1").effect("hitbox Outside")("Slider");
var d = length(p1, p2);
var r = linear(d, HitOut, Hitin, ScaleFrom, ScaleTo);
[r,r]

Ответить
Dr. Respect
Dr. Respect - 23.05.2023 18:08

Hello so what does it called
For the squares (grids) and the null
If i want to tell my friend about it

Ответить
Husam Hb
Husam Hb - 22.05.2023 14:49

can I do it without plug-in?
and how

Ответить
Adrian Fels
Adrian Fels - 08.05.2023 20:15

I can't find the expression. Could you please help me?

Ответить
Ashish Randive
Ashish Randive - 04.05.2023 11:32

For anyone trying to do this for opacity, simply change the [r,r] to [r]

Ответить
Aina Orduña
Aina Orduña - 27.04.2023 15:56

thank you so much for this content!

Ответить
Татьяна Ботвинко
Татьяна Ботвинко - 26.03.2023 10:45

Hello! How can you be found on Skill Share?

Ответить
Stephen Dallas
Stephen Dallas - 22.03.2023 21:14

Can I export this asset as a lottie or similar that would be compatible with iteractive website design?

Ответить
S B
S B - 11.03.2023 04:37

This is so awesome. I wonder - would there be a way through expressions to have the effector null affect the yRotation of the squares in the grid?

Ответить
World Tree
World Tree - 31.01.2023 04:15

How do i apply this technique when working with different shapes that aren't in an exact perfect grid? Like pills, circles and triangles scattered around reacting to each other. (I have trapcode Form if that helps?)

Ответить
Anton Fullerton
Anton Fullerton - 30.01.2023 23:15

This is exactly what I needed, thank you for the great tutorial. 

I do however have one question and forgive me if it's been asked already, but is it possible to have 2 null controllers working as triggers for the shapes?

Ответить
Christian Hogue
Christian Hogue - 01.12.2022 12:34

how can we apply an image as a texture across the grid that scales with each individual comment.. rather than just using it as a matte wipe? thanks

Ответить
ronald brugger
ronald brugger - 25.11.2022 18:04

Did you start with a repeater grid or how did you get all the individual shapes neatly in a grid?

Ответить
Willbe
Willbe - 22.07.2022 16:31

You sir have a real talent for explaining and visually simplifying complex things. Thank you!

Ответить
Vitali Yaronski
Vitali Yaronski - 24.02.2022 16:57

This is a great tutorial !
I have a qusetion about how can I make it react to a bigger surface as shape for example? So I can make a custom transition upscaling and downscaling squares as my shape moves from left to right

Ответить
Deepak Prabhakar
Deepak Prabhakar - 13.02.2022 19:27

I love your tutorials ,
Plz tell me expressions of advanced or mid level
I get confused and fogot now what i do when i am doing sonthing and that work get to a difficult level

Ответить
Cobalt
Cobalt - 26.01.2022 09:31

Still comig back to your videos, Mr. Abrams. As always, thank you so much for the excellent tutorial! I'll be attempting to use this principle to make a reactive faux drop shadow for a bouncing ball I'm having to animate for my 2D Animation I class. Little do my peers know, I've got some AE experience well before I went into the class, so it's time to flex for me if I can pull this off. Haha! Wish me luck. I will surely @ mention you on Twitter when it's all posted up.

Ответить
Kashish Mehta
Kashish Mehta - 18.01.2022 19:24

How we can achieve this for Lottie ?

Ответить
Adrian Fels
Adrian Fels - 09.01.2022 20:24

Am I dumb or is that difficult for a beginner?

Ответить
Ana Donos
Ana Donos - 16.12.2021 15:51

Thank you for this video! Can somebody help How can I adapt the first expression to scale only horizontally?

Ответить
Todd Lawrimore
Todd Lawrimore - 15.10.2021 16:42

Very helpful. Great work pulling the information together for us

Ответить
Archway Films
Archway Films - 20.09.2021 02:48

hmm? I can't find Scale From or Scale To anywhere in the effects?

Ответить
FELIPE ZAPATA
FELIPE ZAPATA - 10.09.2021 08:42

Awesome tutorial! What if instead of affecting the scale we affect the shape layer... so going from a square to a triangle?

Ответить
Mr. Dabilin
Mr. Dabilin - 19.08.2021 19:22

Hey! The page with the document REALLY does not work!

Ответить
Azyy
Azyy - 24.07.2021 08:21

Loved this tutorial, I'm trying to tweak the first example to effect the position instead of scale. The problem i'm running into is the position for my grid of dots is all set to 0.0 , 0.0 when I apply the expression to it (I changed anything with the word scale to position in the example). Was wondering if anyone knows how to keep the grid of dots in their original place with the cursor moving them slightly as it gets nearby.

Ответить
Fabio Arnold
Fabio Arnold - 14.07.2021 17:06

Hey man, awesome Tutorial!
I tried the same expression for the first method but there is an error in line 1 where p1 stands called:
Error: Undefined value used in expression (could be an out of range array subscript?)

Do you have any idea what i can do to fix this?

Ответить
Wendt Animation
Wendt Animation - 23.06.2021 22:44

Can this work with 3d layers?

Ответить
Mritunjay Raj
Mritunjay Raj - 27.05.2021 23:03

I wonder if bulge effect could achieve the same.

Ответить
Franco Carmona
Franco Carmona - 09.04.2021 19:08

I don't understand where I find the effect of "scale from" "scale to, hitout, hitIn" :( help

Ответить
David Currie
David Currie - 09.03.2021 18:00

Love the C4D solution to this - exactly what I was looking for!

Ответить
Hanna Isachanka
Hanna Isachanka - 02.03.2021 23:25

thanks for a thorough explanation of the expression, that's rare and priceless!

Ответить
Peter Gordon
Peter Gordon - 14.01.2021 15:02

Great video, thank you so much. I have a question, however... what if I wanted the grid to interact with some keyed out footage, e.g. where there IS footage the grid scales, and where there is no footage it remains unaffected? My ultimate aim is to create some dot matrix animations of people doing things. Cheers!

Ответить
After Effects Tech Desk
After Effects Tech Desk - 29.12.2020 17:26

Great lesson as always!

Ответить
Bienvenido Cruz
Bienvenido Cruz - 26.12.2020 14:17

Nice. I think you can also use the sampleImage expression to change their sizes according to a map layer.

Ответить
Manuel Arias
Manuel Arias - 26.12.2020 05:01

Ultrasupermega useful bro!

Ответить
Fred Rijckenberg
Fred Rijckenberg - 26.12.2020 00:57

Merry Christmas and many thanks for the great tutorials in 2020. Happy new year

Ответить
Andrew K
Andrew K - 25.12.2020 20:36

Thank you for this tutorial, i would like ask, how can i use this forexample in web pages (active BG or..)?

Ответить
Josh Latinka
Josh Latinka - 25.12.2020 01:51

Best tutorials....PERIOD!!!!

Ответить
Óscar Pires
Óscar Pires - 24.12.2020 19:38

Thanks for another great tut.
Merry Xmas.
Regards from Portugal.

Ответить
Ian Starr
Ian Starr - 24.12.2020 16:02

Cute tutorial, but did u ever heard of Motion3 Falloff tool?

Ответить
Justas Kopustas
Justas Kopustas - 24.12.2020 15:05

hi, i wonder how could i achieve this. layer reacts to cursor coming closer. but after hovering, layer stays in its hovered state. Like i would like to make layers to disappear but not to show up again

Ответить
kamasutraninja
kamasutraninja - 24.12.2020 13:12

Does this mean learning JavaScript would help my longer term AE development?

Ответить
Vesto
Vesto - 24.12.2020 12:53

This is crazy 😧😧😧😧

Ответить
Emad Salah
Emad Salah - 24.12.2020 12:24

Good job

Ответить
Thirumaran Subramaniam
Thirumaran Subramaniam - 24.12.2020 08:24

Excellent tutorial

Ответить
Garyk
Garyk - 24.12.2020 08:23

This is great!

Ответить