Study #1 Infographics - Animated Circle Percentage
||FIND MY COURSES ON KONOZ: https://konoz.io/gabriele.tropiano.multimedia ||
Study #1 - Animated Circle Percentage Tutorial with Codes
Welcome to this new series of studies around After Effects, a bit of Javascript (not too much I ensure you) and infographics, to build our independence over templates business! We'll have a look at how we can connect simple movements to % values and how you can build after your own setup of infographics.
Here's the code used for connecting the Text Source to our Slide control:
beginCount =thisComp.layer("Counter").effect("Slider Control")("Slider");
stopCount = thisComp.layer("Counter").effect("Slider Control")("Slider");
beginTime = 0; // start counting at time = 0
countDur = 5; // count for 5 seconds
Math.round(linear(time,beginTime,beginTime + countDur,beginCount,stopCount)) + "%"
It wasn't made for this purpose but it is adapted for our conter!
Other tutorials are coming further so subscribe to the channel and get ready for the next studies!
NEW: Project file here! : https://gum.co/qOvGs
--------------------------------------------------------------
Check also my website:
www.gabrieletropianomultimedia.com
Endorse me on Linkedin! I will endorse you back!:
https://it.linkedin.com/in/gabriele-tropiano-4a55184a
For any questions write on the discussion board!
Closed Caption:
hello everybody I'm Gabrielle from Italy
and today I'm going to show you the
first tutorial then i'm going to make
about the info graphics on after thanks
I know you guys are normally maybe
sometimes buying infographics online
some templates I don't know exactly what
they are selling but i know that you
have your info graphics design as they
do and that's it
I mean you don't have you can't really
change a lot of that so
and now i'm going to show you why made
last year and i took quite a lot of time
to make it but anyway
oh let's have a look it's quickly we
have all these kind of different
graphics from columns triangles and
little males hands circles
person person pages let's have a look
today
exactly at one circle one person page
because i think that that many many
times that they're asking you to insert
inside the video a person so let's go
quickly to go let's go quickly to make
this circle like a new composition 19 21
08 e square pixels 25 frames full
resolution also even automatic but i'm
going to set it later
yeah automatic they using
adaptive a resolution just to increase
our speed why we are working as make a
new shape layer and we are caught we are
going to call this circle one to make
the circle i found out that the quickest
way
what's instead to create a small
rectangle we make it just in the middle
but does
we don't care a lot because then we're
going to set its size here
- 10 off with and one under it off hate
all right so its position will be
exactly in the middle
pops
we are going to make a trick to make the
circle
we're going to use the repeater repeater
is already inside another effects will
allow us to make different copies of our
tanghalang grande as a what what what is
making I mean what the the purpose of
using the repeater what we are going to
repeat the circle where many times all
around instead of going straight so for
doing this
we have to set on the repeater
we're going to transform rotation to one
degree so that they will curb it's one
degree you can see here but also we have
to set the position of - 400 on the
y-axis
and not only this position of the third
copy from the first will be 0 so you see
that they are all closed lead out there
free now all here and if we increase the
copies
they're going to go all around like this
so you understand now we have different
many many copies about 41 do it
Maxine should be but because maybe
mmm are there
there we go then we removed the link
between the weights and hate 10100 as i
said before
now it's time to make the certain the
second circle that will be basically a
copy of this so we press duplicate put
it here in this case we'll we'll set the
distance from of the rectangle position
basically instead of the rectangle one
transform.position - 2:40 and then we
will increase the distance between the
copies so repeater transform rotation
will be instead around 10
yes 10 degrees and then you see that now
we have
let's
copies here but we are going to make it
seen there to make that we put the sides
of the rectangle number two
hmm we'll put we started to one of
weight
all right yes so now we have copies
ok in this case the copies will be less
than before because of course we are
taking less time to cover all the
degrees and need to be around the 36 out
say yes
six is the maximum and at the same time
the copies the external circuit will be
4 60
so now we have only to add the the
counter counter will be the lair
it's a no object layer that we give
basically the number that we want
therefore the information that we want
and so we call it counter and we play it
yep top full even if it doesn't really
matter and we put the slider control an
effect on to the counter
now we have this lighter that will help
us to link the copies of
of this repeater and we do alt click so
Alt key click on to the keyframe clock
here and then we take me select the
counter
come back here and we link this pic whip
with the week sorry to the slider of the
shower is like the control days on the
not object
so now you see 0a so it will be 0 then
we do the same thing with the other
repeater so alt and click on the clock
in a clock and click on their way
not wait click on the counter click on
the whip and Link it to the slider again
so now we have everything is at zero and
if we are going to modify this value we
see that the copies of the outer circles
are obviously less so we've been third
six
we have completed the this inner circle
but not the outer circle so to fix this
problem i found out another trick
ok so to pick this we are going to
circle one then we go two copies of
copies and then from here
what we do is to to a multiplication
there for
ok I was wrong at the rotation of the
outer circle is 0 . nine degrees so we
see we see that it's exactly 25 when
it's set on 25 because the percentage we
have to imagine that start from zero and
goes to 25 from here we can go up to 1
and rage see one and it is exactly here
fuck yeah now we're going to fix also
the inner circle and here we are going
to set instead the copies dividing them
by two . 8
let's see if it works
mmm yes yeah that this number it is
again another number that i have had to
experiment because it's my time to reach
the exact
oh yeah even to . seven would be working
yes yes yes keep that so we divide the
this expression on to the copies after
repeater after tangle number two we
divide by 2 . seven and that is
following exactly our percentage now the
last part
it's the number which is obviously
giving us the clear information that we
need to remove this and we're going to
put here
text so text will be given by a code
so in this case again we will click also
click on to the clock here and then we
are going to copy this code that I
relearn i will put under my video so you
can find me there
it's accounting codes that was for the
was made for another purpose but I
change date and putting basically these
this completely counter act like control
is giving the begin counting and then
there is the stop counting which is the
same thing and basically it's our slider
value that we set before and yeah
and at the end i added just a person
page here
so well and I don't want to go to
marching meet with this because video
will be too long anyway
it is already long I got this and then
copy it onto source text expression
layer and now i have here as you can see
the number that was
there was on the slider so let's set now
the color to yellow less sense sides bit
more and this text layer
we're going to move it maybe the ankle .
should be a bit of this a bit like this
we can size up a bit more and again
anchor points
and by ok let's Center it now going back
to the counter
well we are almost done guys so I just
about to see is candy from 0 to be
careful because it is it's also going to
mines so he set the mines value is going
to make this then it goes up to one
under it and then came go even more but
we don't need this
so let's imagine it that is starting
from zero so we have just this
let's make a pee from of this lighter
and we want to set after four freak
seconds
the value 56
alright so now it's starting from zero
and it's going to fix the six just being
our normal but maybe want to add some
fancy stuff to it because I mean it will
be a bit sad
let's set set the sides just k of the
number 20 at the begin and then let's go
off some key frames set another keyframe
of 100 it
let's say after six key frames and then
we do the same with this
so basically the size hate and the
position actually a not the path
position of the angle here
and besides here
careful because that two different
positions
this is the transform position to tangle
here the transfer position off the path
so from here from basically i'm doing
this after 36 frames we set this we come
back first
where we set 0
I was that also came back here
put the final position but we set at the
beginning
zero position so now it will start from
on the center and 22 come up like this
and then it would go basically up up to
56 the same thing and now let's have a
look at all oppression that you can see
all the keyframes let's make a bit more
fun in and let's use i'm using motion
motion scripts that I - I bought from an
empty more graph i'm going to put the
link for this as well and using this
script we can easily insert that ease
he from landing if I'm interpolation is
the in there is out at the same time so
we put we can set it to 15
for example maybe 34 and now every key
frame has got an easy in easy out
so let's have a look you see that now
the movement
it's more natural it's more bouncing
light that bounces just move it goes up
to 56 very very smoothly but since I off
I want to add some bouncing now
so now let's had some this is slight pop
that will give the in the end
maybe that's what it is 22 seconds
so we are
or percentages that goes up to 56 that
we can do a slide
increase to 50 59 and we go back to 56
in second
not nothing but in less than 45 frames
and I grabber
just just just this little bounce now
like this you use this easy in else and
maybe move a bit again
let's move this first key frame
all right that's why wine and then
there's a bit
pop here off the circle
yeah at the end so we put another key
from on to the final frame where we have
the value precise and then we put at an
increase of size of the hague won the 24
and then we go back to one under it
after a few frames you can actually
choose again
try yourself with these are not street
and stick to values to to put and that
we also increase them here
the size of the rectangle or the sorry
the width of the rectangle so i just set
to this first key friend
right now maybe this so it will be one
time we go up to 10 the width of our and
small rectangles and then we go to one
again later
so highlights and maybe even even them a
bit of scaling of the number
yeah again one at the same time the
other one under ten percent and back to
one and raids
everything has to be exactly on the same
month which are going under same frame
CC same time they go up and down there
we go
ok starting guys this is our persons
aged so-called made for you and ready to
use for every project you can change
your font you can choose your career
your colors just you just go
you do feel and you can actually wait
maybe just made that you make and other
compensation
look at the main composition you put
this comp comp here component feel
intense new foods blue color right you
can see now it's blue
you can choose every other color you
want
so they've said guy it's my first
tutorial i know that i'm slightly that
feel at explain myself and something
that I
stop but well I really love surely
increase my quality of the next tutorial
so i hope you find this useful so check
my website check my youtube channel and
soon I will be also on the nodes are we
putting for anything so the way you can
follow me and find new tutorials have a
nice one and see you next time bye
yeah
Video Length: 23:06
Uploaded By: Gabriele Tropiano
View Count: 84,680