After Effects Expressions 307 - Color

  Рет қаралды 42,085

Animoplex

Animoplex

Күн бұрын

Пікірлер: 51
@Skycider
@Skycider 6 жыл бұрын
I looked so hard this past summer and autumn for a tutorial on how to affect color, this is life saver. This is one of the most well-planned series I've seen on KZbin, all categories, great work! I'm now a happy paying customer. :)
@Animoplex
@Animoplex 6 жыл бұрын
This particular series of intermediate videos (including Color) was uploaded in November, so it barely missed you in Autumn! Your kind words are appreciated, so glad the videos helped you out. And thank you for supporting the course! Please reach out here or via email if you have any questions or feedback.
@IzoFoxUA
@IzoFoxUA 4 жыл бұрын
Thank you Animoplex! This lesson helped me to understand sampleImage function and I've used it in the project where I will need to cover some information on screencast. This function was changing the color of my solid layer along the video duration.
@Animoplex
@Animoplex 4 жыл бұрын
Great to hear, that is a solid use for expressions!
@torjusaanderaa3749
@torjusaanderaa3749 3 жыл бұрын
Awesome tut! Now I know how to basically lower the opacity or apply a CC the HARD way! ^^ No, but seriously very well explained and this can be very useful!
@Animoplex
@Animoplex 3 жыл бұрын
Thanks! Glad it was useful. A few of these techniques are a bit long-form. But some problems require a complex solution like this so it's good to know what's possible!
@pixydis
@pixydis 7 жыл бұрын
Such magic! The adjustment layer trick was amazing!
@Animoplex
@Animoplex 7 жыл бұрын
Isn’t it? It’s an awesome trick that works with a lot of workflows that need every layer underneath calculated as a unit. Any questions, please reach out.
@maxleveladventures
@maxleveladventures 5 жыл бұрын
There probably is a very simple and easy answer for this question: How was the rocket layer made and split into groups for coloring? Is it an import from Ai? Was it made in Ae? What does the star beside the layer name mean? I've watched all of the videos in this series to this point, but I haven't been able to figure that part out. I'm so thankful for these videos! I've learned so much from these in a very short period of time. Cheers.
@Animoplex
@Animoplex 5 жыл бұрын
Good question, someone else asked about this on another video: The rocket was designed in Illustrator, imported to AE as a single layer, then Converted to Shape Layer via the right click command. From there, the components were cleaned up and groups were named. Hope this helps!
@maxleveladventures
@maxleveladventures 5 жыл бұрын
Animoplex Thank you! I didn’t know it was possible to import a single layer with multiple shapes from Ai and separate them later Ae.
@Animoplex
@Animoplex 5 жыл бұрын
Yup! You can use shape layer groups to reorganize the converted art or duplicate and split them into different layers manually.
@Williod
@Williod 7 ай бұрын
Tank you, man. You helped me a lot.
@alideep9656
@alideep9656 6 ай бұрын
Super helpful, I will br coming back to this video a lot, thank you ♥️♥️
@halmatgraphist1297
@halmatgraphist1297 3 жыл бұрын
Really really helpful, Thank you so much!
@Animoplex
@Animoplex 3 жыл бұрын
You're very welcome!
@rakmichal
@rakmichal 3 жыл бұрын
Very helpful, thanks!
@Animoplex
@Animoplex 3 жыл бұрын
Glad it was helpful, you're welcome!
@rahuldeshpande9997
@rahuldeshpande9997 4 жыл бұрын
This is super helpful, thank you!
@Animoplex
@Animoplex 4 жыл бұрын
Of course! Glad it was helpful Rahul.
@matejfrnka8194
@matejfrnka8194 6 жыл бұрын
How would i use this to set the color by certain pixel on the screen?
@Animoplex
@Animoplex 6 жыл бұрын
If, by screen, you mean your composition, you can use a modified version of this expression: gist.github.com/animoplex/635d9d7990783e52913103f0ac811995 target = comp("SOURCE COMP").layer("SOURCE LAYER"); samplePoint= [960,540]; // Sample location sampleSize= [1,1]; // Sample area (in pixels) target.sampleImage(samplePoint,sampleSize) Best way to do this is add an adjustment layer to the top of your timeline, then target that layer with the expression linked above. Set the comp and layer names, the sample point (comp position coordinates), the sample size, and you should be set! Post back if this works for you.
@anunciadavecinogasset5747
@anunciadavecinogasset5747 6 жыл бұрын
Thank you so much for your tutorials, they are great!! I reached the end of this video, successfully. I would like to know what expression you used for the intro of this video: starts with: array=transform.position.value.splice(toComp([0,0,0]), 2); how it continues? the end result of the intro is different from the end result. thank you!!
@Animoplex
@Animoplex 6 жыл бұрын
Hey Fizink, thanks for reaching out. It's difficult to understand your question. The expression you shared is correct, and the expression has another line: thisComp.layer("Color Source").sampleImage(array, [100,100]) which is included in the video. What problem are you trying to solve?
@anunciadavecinogasset5747
@anunciadavecinogasset5747 6 жыл бұрын
sorry about the question, because I answered before finishing the video, and I thought I did, I got the final result. your tutorials are awesome, so clear explained. thanks!!
@Animoplex
@Animoplex 6 жыл бұрын
Glad you were able to figure it out, thanks for the compliments!
@amiputranuaryanto7212
@amiputranuaryanto7212 4 жыл бұрын
is it possible to make the adjustment layer functionality applied inside the shape layer? so we can use only 1 layer or maybe we can save it as preset instead
@Animoplex
@Animoplex 4 жыл бұрын
The only way to do that is to pre-comp all of the layers underneath that you want to read color from. The expression can't read color of the viewport, it has to read color from a single layer. The adjustment layer is a trick/hack to avoid pre-comping, but you can just pre-comp all layers under the rocket and sample that layer instead.
@kolynxazaka6877
@kolynxazaka6877 7 жыл бұрын
Thanks a mil.
@Animoplex
@Animoplex 7 жыл бұрын
No problem, any questions please reach out!
@kolynxazaka6877
@kolynxazaka6877 7 жыл бұрын
sure. once again thanks
@XxJKAlexandriaxX
@XxJKAlexandriaxX 5 жыл бұрын
I don't understand why you added the Splice and toComp method. Please explain very troubled with this :(
@XxJKAlexandriaxX
@XxJKAlexandriaxX 5 жыл бұрын
What does splice mean? I feel like just knowing that would help a ton with figuring this expression out.
@Animoplex
@Animoplex 5 жыл бұрын
The toComp expression was not the best example for this. Instead, you can use a single index value. Here's a better way to see how splice() works in JavaScript: var pos = [960,540,100]; pos.splice(0, 2); // returns first two indices, [960,540] or var pos = [960,540,100]; pos.splice(1, 1); // returns second index, [540] developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
@Iluhastecenko
@Iluhastecenko 5 жыл бұрын
Круто чел! Thx a lot)
@Animoplex
@Animoplex 5 жыл бұрын
You're welcome!
@auxiliolacouture1221
@auxiliolacouture1221 6 жыл бұрын
I would like to change the color of a light, to create a sort of blinking neon. A bit like in the Intro of "Enter the void". I've put a wiggle expression in the light color section, but my colors are to saturated and primary for my taste. I could try to create like a gelatin which could change color in front of the light, using hue/saturation effects, but I have a hard time figuring solids in space. If you have any idea on how to create a flicking light randomly changing color but where you can change the saturation/hue, it could really help.
@Animoplex
@Animoplex 6 жыл бұрын
You could try a custom HSL Wiggle like this: seedRandom(0); h = wiggle(1, .5)[0]; s = 0.5; l = 0.5; v = [h, s, l, 1]; hslToRgb(v); First line sets the seed to keep it from changing with the layer index, second line is the hue wiggle, the saturation, and lightness values, the third line puts it all together and the fourth line converts to RGBA array for a color picker property. The "s" variable is set to 0.5 to keep it from being too saturated. See if this works, post an update when you have something. EDIT: Just to note, the wiggle value is based on the current property value. With the above expression, the best results are when the color property was set to "808080" hex value before applying the expression.
@auxiliolacouture1221
@auxiliolacouture1221 6 жыл бұрын
@@Animoplex Thank you ! I have already better results. The transition between colors is really smoother while flickering at the same time. I'm going to tweak the hex value to try different color spectrum.
@Animoplex
@Animoplex 6 жыл бұрын
Glad it worked! Best way to tweak the color spectrum is to mess with the "s" and "l" variables, the "h" should already be cycling through all of the hues available if you set the hex to 808080. Also, feel free to change the seedRandom value from 0 to any number you'd like. It changes the seed for the wiggle, giving you some flexibility with the wiggle pattern. Post back with any updates!
@AeBlues
@AeBlues 6 жыл бұрын
thanks for this :)
@Animoplex
@Animoplex 6 жыл бұрын
You're very welcome, how are you enjoying the course so far?
@AeBlues
@AeBlues 6 жыл бұрын
Thank you. I just needed this one segment to understand on sampleimage() and to get back to work but was impressed on how the information was presented in a clear way and would go back to this resource when I need to.
@Animoplex
@Animoplex 6 жыл бұрын
Nice! Thank you for the compliments. Reach out with any questions.
@joverttupag
@joverttupag 5 жыл бұрын
Was it possible to parent Checkbox into another Checkbox?
@Animoplex
@Animoplex 5 жыл бұрын
Yes it is possible! Try pick whipping one to the other, the parent should then affect the child. Hopefully that works for you.
@joverttupag
@joverttupag 5 жыл бұрын
@@Animoplex It work's smoothly as it should! Thank you Btw, also it's possible to parent into two checkbox? I think this is wrong it doesn't work . Please help. ------------------ comp("Main").layer("Color Control").effect("Navy x white")("Checkbox") ; comp("Main").layer("Color Control").effect("Chocolate x white")("Checkbox") ;
@Animoplex
@Animoplex 5 жыл бұрын
You can do this with an If Else statement to use both checkboxes: gist.github.com/animoplex/65f4ba95c18868ca47d7c0e51700573f It might look something like this: sliderA = add link here; sliderB = add link here; if (( sliderA == true ) || ( sliderB == true )) { 100; } else { value; }
@jd_mckee
@jd_mckee 5 жыл бұрын
Is it possible to use this method to match the light and color variations of a layer patch and zero out the white and black levels as he's done in this tutorial? kzbin.info/www/bejne/g3y5nYafi7SUrs0 Seems like your technique here would get you close.
@Animoplex
@Animoplex 5 жыл бұрын
Sure! It's a bit complex, but you could track a sample point, set a wide sample size, and then measure the color. Sorry for the delay, link was flagged for manual review. Have you tried it yet? Post an update if you get it working!
@jd_mckee
@jd_mckee 2 жыл бұрын
@@Animoplex I haven't gotten it to work. I can get the color to sample, but it's the zeroing out that I'm not sure how to accomplish
After Effects Expressions 308 - Controls
9:10
Animoplex
Рет қаралды 34 М.
Math.sin - Adobe After Effects Expression
13:28
ECAbrams
Рет қаралды 183 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 28 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 9 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
After Effects: Dynamic Procedural Colors with Expressions
10:42
Creative Dojo
Рет қаралды 15 М.
Expressions Basics - After Effects Tutorial
22:08
Holmes Motion
Рет қаралды 43 М.
After Effects Expressions 401 - Useful Expressions
17:52
Animoplex
Рет қаралды 30 М.
sourceRectAtTime(); | After Effects Expressions
34:33
Jake In Motion
Рет қаралды 135 М.
Set Up Color Controllers to Recolor Animations | After Effects Tutorial
12:50
Animation Explained
Рет қаралды 4,6 М.
Color Link | Effects of After Effects
5:36
Jake In Motion
Рет қаралды 16 М.
Random Expressions in Adobe After Effects
14:38
ECAbrams
Рет қаралды 138 М.
After Effects Expressions 204 - Speed & Velocity
7:26
Animoplex
Рет қаралды 50 М.
After Effects Tutorial - Random Fixed Color Expression
5:23
Andy Ford Video
Рет қаралды 9 М.
1-CLICK ROTO After Effects plugin + Photoshop A.I
7:15
Visionary Fire
Рет қаралды 238 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31