- 23
- 17 503
K Motion Tutorials
United Kingdom
Приєднався 15 лис 2020
Manipulating Text from CSV Data in Cavalry 2.3
In this tutorial, I will show you how to use CSV Spreadsheets data inside Cavalry. In this specific example, I will be using manipulating CSV data, by joining 2 columns together to create formatted string, changing font typeface and font size, colour and more.
Special thanks to Chris Hardcase from Cavalry team
cavalry.scenegroup.co/
and Remco from Scenery team
scenery.io/scenes
for helping me come up with a solution to a problem in this set up.
Project file is available on Gumroad, if you need it:
kmotiontutorials.gumroad.com/l/uupms
And more details are on my blog here:
www.kamilk.co.uk/2024/12/manipulating-text-from-csv-spreadsheets-in-cavalry
Timestamps:
00:00 Example
00:14 Initial thoughts about this project
01:21 Tutorial starts here - import spreadsheet with data
03:42 String Generator - Formatted String
05:51 Text in Duplicator with problems
07:07 Math Modulo operation
10:25 Color Array
11:10 Duplicator's Shape Position Offset
11:51 Get Vector solution
13:12 Customising Falloff
14:27 Typeface Array
16:30 Value Blend
17:18 Animating with Frame
17:48 Sub-Mesh Color Change
21:19 Adding accent Dot
22:50 Final comments
Special thanks to Chris Hardcase from Cavalry team
cavalry.scenegroup.co/
and Remco from Scenery team
scenery.io/scenes
for helping me come up with a solution to a problem in this set up.
Project file is available on Gumroad, if you need it:
kmotiontutorials.gumroad.com/l/uupms
And more details are on my blog here:
www.kamilk.co.uk/2024/12/manipulating-text-from-csv-spreadsheets-in-cavalry
Timestamps:
00:00 Example
00:14 Initial thoughts about this project
01:21 Tutorial starts here - import spreadsheet with data
03:42 String Generator - Formatted String
05:51 Text in Duplicator with problems
07:07 Math Modulo operation
10:25 Color Array
11:10 Duplicator's Shape Position Offset
11:51 Get Vector solution
13:12 Customising Falloff
14:27 Typeface Array
16:30 Value Blend
17:18 Animating with Frame
17:48 Sub-Mesh Color Change
21:19 Adding accent Dot
22:50 Final comments
Переглядів: 398
Відео
Matrix Rain Code effect in Cavalry 2.3
Переглядів 32814 днів тому
In this tutorial, I will show you how to create Matrix Rain Code effect in Cavalry. I'm going to use a number of nodes and techniques, to make this set up responsive to resolution, font size, number of columns and rows and more. Here is a project file with the whole set up: kmotiontutorials.gumroad.com/l/tksrl More details are available on my blog: www.kamilk.co.uk/2024/12/matrix-rain-code-effe...
Data Visualization in Cavalry
Переглядів 856Місяць тому
In this tutorial, I will show you how to create a simple data visualization graphic and how to animate it. I will be using single Random modifier to assign colours, line thickness, data block sizes and more. I will show you how to use a number of tools inside Cavalry, such as Accumulator, Connect Lines, Number Values to Colour and more. Project file available on Gumroad: kmotiontutorials.gumroa...
Duplicators Explained for After Effects Users
Переглядів 1,6 тис.2 місяці тому
Hey In this video I will go over all the settings of a Duplicator in Cavalry. I will explain what they do and provide a number of examples, so you can learn how to use other tools and modifiers inside this amazing 2D motion design software. Make sure to read about Context Index on Cavalry Documentation page here: docs.cavalry.scenegroup.co/nodes/utilities/context-index/ This is a bit complex to...
Introduction to Cavalry for After Effects users
Переглядів 3,7 тис.3 місяці тому
Hi! In this tutorial, I will give you an introduction on using Cavalry. We will cover interface, creating shapes, overview of a Duplicator tool, creating color arrays, dealing with multiple shapes, basic Noise modifier, using Number Range and finally, export of your animation. All done without keyframes. This video should give you a basic understanding how to work with Cavalry, how to use 1 too...
Venn Diagrams Made Easy in After Effects using Essential Graphics Panel and Expressions
Переглядів 1,1 тис.Рік тому
In this step-by-step guide, you'll learn how to set up Venn Diagram rigs, which are flexible, easy to use and modify and update to your needs. It is all done with Expressions and Essential Graphics panel for seamless interactivity. We'll explore the power of the Essential Graphics Panel for easy customization and efficient project management. Elevate your motion graphics game as we break down t...
ValueAtTime Animation Delay in After Effects
Переглядів 3 тис.Рік тому
In this tutorial, I will show you how to use ValueAtTime expression to set up Delay Rigs. I have created a bunch of examples, where I use the rig and set up in more advanced way, than in this video. Project files are available on Gumroad for free here: kmotiontutorials.gumroad.com/l/expcd Write up and expressions are available on my blog here: www.kamilk.co.uk/2023/09/valueattime-animation-dela...
Honeycomb Hexagonal Text Animation in After Effects
Переглядів 4392 роки тому
This is second tutorial, out of 2 to create this effect. Second tutorial is here: ua-cam.com/video/eO3UiU1vLsI/v-deo.html Project files are available on Gumroad for free here: kmotiontutorials.gumroad.com/l/urdoh Write up and expressions are available on my blog here: www.kamilk.co.uk/2022/12/honeycomb-hexagon-text-animation/ Inspiration for this tutorial came from this animation: dribbble.com/...
Honeycomb Hexagonal Matte Rig in After Effects
Переглядів 6852 роки тому
This is first out of 2 tutorials to create this effect. Second tutorial is here: ua-cam.com/video/twEQndmc-00/v-deo.html Project files are available on Gumroad for free here: kmotiontutorials.gumroad.com/l/urdoh Write up and expressions are available on my blog here: www.kamilk.co.uk/2022/12/honeycomb-hext-matte-rig/ Inspiration for this tutorial came from this animation: dribbble.com/shots/893...
Animated Numbers in After Effects
Переглядів 1472 роки тому
In this tutorial, I will show you different methods of animating numbers in After Effects - from basic to very specialised and complex. For more details and to easily copy expressions, visit my blog: www.kamilk.co.uk/2022/11/animated-numbers Project file available on Gumroad: kmotiontutorials.gumroad.com/l/homxx Visit Sergei's Commas in Numbers tutorial for more details on one of the techniques...
After Effect Text Smear Project - Colorama, Hexagon details and colour blending
Переглядів 3083 роки тому
In this tutorial series, I will show you how you can create text smear effect with all the details, all done procedurally inside After Effects without any plugins. Feel free to download project file from Gumroad for free to follow along: gumroad.com/l/KfqFfi This is 3rd out of 3 tutorials in the series and I think it is the most fun one. Second tutorial is here: ua-cam.com/video/sbdnvQPI0hk/v-d...
After Effect Text Smear Project - Text Smear and Displacement Effect
Переглядів 5353 роки тому
In this tutorial series, I will show you how you can create text smear effect with all the details, all done procedurally inside After Effects without any plugins. Feel free to download project file from Gumroad for free to follow along: gumroad.com/l/KfqFfi This is 2nd out of 3 tutorials. Tutorial no 1 is here: ua-cam.com/video/9et0NdbXxmk/v-deo.html Tutorial no 3 is here: ua-cam.com/video/F1u...
After Effect Text Smear Project - Animation Set Up
Переглядів 3733 роки тому
In this tutorial series, I will show you how you can create text smear effect with all the details, all done procedurally inside After Effects without any plugins. Feel free to download project file from Gumroad for free to follow along: gumroad.com/l/KfqFfi This is 1st out of 3 tutorials. In this tutorial, we will focus on setting up text animation with Text Animators and "locking" text positi...
Responsive and modular Radial Arrays rigs in After Effects with Expressions
Переглядів 8413 роки тому
In this tutorial, I will show you how you can built radial arrays in After Effects easily with expressions. Or in other words - arrange layers in perfect circle and "space them out" evenly, depending on number of layers you have. The method I will show you is very flexible, you can use any type of footage, image or shape layer to arrange on circle diameter. I will show you how you can add contr...
Advanced After Effects Descenders in Lower 3rds Templates - Part 3
Переглядів 4553 роки тому
In this tutorial I will discus advanced concepts of dealing with text in After Effects. If you are using lower/sentence case text in your design and you have problems of text not being 100% aligned to your shape/other layers - this might be a solution for you. After Effects deals with text alignment differently, than for example Sketch. It does not "ignore" descenders or punctuation marks. In l...
After Effects More Complex Lower 3rds Templates - Part 2
Переглядів 3033 роки тому
After Effects More Complex Lower 3rds Templates - Part 2
After Effects Responsive Lower 3rds Templates - Part 1
Переглядів 4643 роки тому
After Effects Responsive Lower 3rds Templates - Part 1
After Effects Custom FUI - Colour and Styling - Part 6
Переглядів 1834 роки тому
After Effects Custom FUI - Colour and Styling - Part 6
After Effect Custom FUI - Swarm Detection - Part 5
Переглядів 794 роки тому
After Effect Custom FUI - Swarm Detection - Part 5
After Effects Custom FUI - Number Counter and Spaceship Indicator - Part 4
Переглядів 814 роки тому
After Effects Custom FUI - Number Counter and Spaceship Indicator - Part 4
After Effects Custom FUI - Radar Set Up - Part 3
Переглядів 2254 роки тому
After Effects Custom FUI - Radar Set Up - Part 3
After Effect Custom FUI - X Crosses - Part 2
Переглядів 1584 роки тому
After Effect Custom FUI - X Crosses - Part 2
After Effect Custom FUI - Dots Grid and Border - Part 1
Переглядів 1,3 тис.4 роки тому
After Effect Custom FUI - Dots Grid and Border - Part 1
This was TRULY AMAZING. But you made one "mistake", maybe? 21:38 - If you put the dot as a child of the falloff instead of the null (position vector), then it gets plopped right in the middle perfectly, and you can just adjust it back slightly with position X as normal (no math required). Which, I will note, I did not understand the location relationships of parent/child until your video here. So it's been hugely informative for a newbie!
Ah you are right. Putting Dot as a Child of Falloff and "zero out" Dot Position values would work better - one less node to worry about. Falloff position is already controlled by a Get Vector modifier. Good spot :)
Hey! Great video - learnt a lot. I have one question though, for some reason when I put my noise input into the X shape scale the Y scale gets distorted. It does not keep a 1:1 ratio. I've tried to connect a math modifier that adds the difference between X and Y but it turned out that the changes in Y also affect the X. It looks like it's being scaled on some weird ratio. Do you have maybe an idea how to solve it? Thanks a lot! 😊
It sounds like you have Noise affecting X and Y, but with different values. Check if on your Noise modifier, you have "Separate Channels" ticked on. If yes, then this will affect X and Y differently. Alternative method - add Noise modifier only to X. Then Link X with Y. This way you are affecting only 1 property and second one is copied from the first one. I may have cut it out by accident during tutorial editing at the end. Simply Add Modifier > Noise > X. Then drag connection from X to Y. It should solve the issue.
@@k-motion-tutorials It did not quite resolve the problem, but you've inspired me to do some ticking and unticking boxes, and it turned out that the issue was the "Use layer as Seed" box ticked on. Now everything worked perfectly. Thanks!
@@bubobimbo Ah thats the new setting introduced in Cavalry 2.3, I think.
This is super interesting, thanks for sharing!
Perfect! Thank you Kamil!
This is beautiful
What are my plans for 2025? Leaving AE.
Thanks so much for this. What attribute of the Underline is the slider for line height connected to?
I think I must have put a script in the wrong place. Working now. Thank you!
@@benhawkins6029 awesome :) BTW on my blog, I did a bit of write up about the set up I used in this video. It may contain extra pointers etc. www.kamilk.co.uk/2021/09/responsive-lower-3rds-templates/
@@k-motion-tutorials Yes, thank you. I've been reading it.
I loved this video. But I'm curious, how do I make switch layer? Like I can change "costumes" of one object. Like, for different mouths.
You could use Mesh Array or Assets Array. Look it up on Cavalry Docs: docs.cavalry.scenegroup.co/nodes/utilities/asset-array/ docs.cavalry.scenegroup.co/nodes/utilities/mesh-array/ This way, you could swap assets using Index on the Mesh or Asset arrays and keep your set up as it is.
Great tutorial 🤘
Keep it coming! Subscribed ❤
So good, Thank you Kamil! I also can't wait for the Data viz feature which has been on Cavalry roadmap for a while.
Same! I'm guessing it will be a number of tools that will make it easier to build complex data viz?
This will work on free cavalry version?@@k-motion-tutorials
Great tutorial Kamil!
so i like even numbers.... type 1815.
Love this and it's coming super handy. Thank you! I have a question about the presence of both descenders and punctuation. I have both to work if they are by themselves but they don't if they are both present. I feel like is something going on in when comparing results of frist if statement... I don't have a bounding box so I removed those parts of code. //Define sources ctrl = thisComp.layer("CTRL"); nameText = thisComp.layer("name").text.sourceText; titleText = thisComp.layer("title").text.sourceText; companyText = thisComp.layer("company").text.sourceText; //Calculate text size textHeight = thisComp.layer("company").sourceRectAtTime().height; companyDescenderHeight = textHeight*-0.226; companyPunctuationHeight = textHeight*-0.136; //Define starting x and y x = transform.position[0]; y = transform.position[1]; //Find descenders and punctuation if they are present descendersCounter = companyText.match(/[qypgj]/gm); punctuationCounter = companyText.match(/[,;]/gm); //Check if descenders are present and run if statement descendersOffset = descendersCounter == null? 0 : companyDescenderHeight; punctuationOffset = punctuationCounter == null? 0 : companyPunctuationHeight; //Compare results of first if statement to determine which offset to use firstCheck = descendersOffset > punctuationOffset ? descendersOffset : punctuationOffset; secondCheck = descendersOffset == punctuationOffset ? 0 : firstCheck; //Calculate new y position newY = y + secondCheck; [x,newY]
For some reason I cannot add Number range to shape scale. X and Y values are greyed out there, so I guess this might ber a hint. Any idea why?
You need to make sure that there are no connections feeding into the field. In your case Duplicator > Shape Scale. I think during the edit, I removed the step where I disconnected Noise modifier, that was "feeding" into Shape Scale. Remove any connections there, and you should be able to add a modifier directly to Duplicator > Shape Scale > X or Y, using Right Click and contextual menu. If there are connections present, you can create Number Range (as in your example, or any other modifier), then drag this modifier "pickwhip" field onto the property you want to affect. This will give you option to Replace the connection. Right Click does not have this option. Hope it make sense. :)
@@k-motion-tutorials Cool thx! :)
Fantastic 🤩
This is super useful especially for me as a Cavalry beginner. Thanks a lot for your efforts! 🫶🏻
This is the best video for Duplicators in Cavalry on UA-cam right now 👍 Thanks 🙂
lets go!
Amazing! More Cavalry tutorials! Thanks!
ua-cam.com/video/6ZolgJGrN-E/v-deo.html Another one just dropped :)
Great Intro, thanks Kamil. Perfect timing with a video on School of Motion channel having Ian and Chris talking about Cavalry.
Here is another one :) ua-cam.com/video/6ZolgJGrN-E/v-deo.html
this looks interesting. Can you export the project as a svg animation?
Do you mean Lottie? Yes, you can. Here are some details and limitations: docs.cavalry.scenegroup.co/user-interface/menus/window-menu/render-manager/lottie-export/ And you can export individual frames or sequences as SVG as well. docs.cavalry.scenegroup.co/user-interface/menus/window-menu/render-manager/
Nice work. That was great.
4:00 if anyone else is wondering why their menu is not "contextual", they need to enable the LiveMode button next to the Attribute Editor Search box.
Great tool considering there is a free version. Is not like that AE can't achieve some of this, but is 10 times more straight forward to make some things it seems.
Lets Go! looking forward for more tutorial.
Well done, looking forward to more!
Pure gold tutorial. Thanks a lot man!
You expression works great, thanks. But my shapes have not all the same size (big square, little square, rectangle etc.) and they all move in diagonal (bottom left corner to top right corner). What expression should I use so the all move with a delay and follow each other at the same distance without staking up on top of each other. I was be able to make the diagonal delay movement by getting rid off the ''[0]'' in ''sourceLayer.position.valueAtTime(time - d);'' but the don't keep the same distance and end up stacking up.
Wonderful Work! Keep it up! You have a new follower :D
Can you explain something for me with this valueAtTime thing please? If you evaluate(time - d) it will be negative sometimes, what does this mean or do to the valueAtTime if the argument (time - d) is negative?
Hey - sorry just saw this comment. You can use positive and negative values in valueAtTime, for example (time-d) and time+d). For example, if you are using this on a position property, then AE will check for any changes to that property "in the past" or "in the future". You will have delay effect - layers will move after your master layer moves, or an anticipation effect - layers will move before your master layer moves. Both ways are correct. It just depends what you want to do. Delay or anticipate movement in your animation.
The tutorial Expression is different than the the actual given expression so not working. Need homework first.
Idea is to add ValueAtTime code to any value you want to delay - position, scale, opacity or even other animated properties and sliders. And by setting up delay system with slider and layer index, you can delay lots of layers easily that share the same animation. There is more write up on my blog - link in the video description.
Any thoughts on what the expression would be if we wanted the shape layer (the line) to move down instead of the text layer readjusting? Right now if I write a second line, the text will move up to accommodate for that but I'm looking for the shape layer to move down as I type. Thoughts?
Do you want to make the Shape Layer increase in thickness as more lines of text are added? I'm trying to understand what you want to create.
@@k-motion-tutorials sorry no, I’m adding a paragraph of text but I want the line (shape layer) to automatically adjust downwards when another line of text appears. So even when there is 2,3, or four lines of text, the shape layer remains underneath it at a specified distance.
@@lorcanpreston4643 Ah now I know what you need. You want to get the whole text layer height with s.sourceRectAtTime(time-s.inPoint,false).height - then you can use this to offset shape position and add padding etc. Check out write up on my blog here: www.kamilk.co.uk/2021/09/more-complex-lower-3rd-templates/ Look for Position - Title Background code. This should help you write the expression you need.
This tutorial is very helpful 👍
Perfect Intro and Tutorial thank you
HEY I LOVE YOUR CONTENT PLEASE KEEP UPLOADING I LEARN SO MUCH!
yo! I've been watching a few of your tutorials and have been learning a lot! Really easy to follow and it's usually stuff that I will use more than once haha. Thanks for this! keep up the content! SUBBED! check out my silly animation vids if ya want too!
Thank! I use this stuff all the time in various forms to speed up some repetitive work.
ı dont understand fading expressions part you add extra slider effect and you dont show what are you doing.
It's a number of sliders "feeding" values into each other. Main animation slider goes from 0 to 1. Linear expression on Shape layer size animates circle from 0 to 400. Then Stroke property uses size value to change stroke from 10 to 0 over time with linear() expression. Thats the simple way. I added extra sliders to calculate how quickly "fade" happens on a stroke - for example stroke goes from 10 to 0, when circle is at 350px and not from 0px. This way circle is at full stroke at the beginning, and fade happens towards the end of the motion. All the extra sliders are not 100% necessary - I wanted to have extra functionality on 1 Null, instead of changing expressions by hand.
Amazing tutorial. I always wanted learn after effects.