#26.3 Animations in React Native | Parallel, Sequence, Spring, Stagger Animation

#26.3 Animations in React Native | Parallel, Sequence, Spring, Stagger Animation


Parallel animation: Start all the array of animations at a same time. Add component ‘ParallelAnimations’ I want to do these animations in same time: rotate and scale Add ‘rotateValue’ and ‘scaleValue’ Use function ‘Animated.parallel’ to combine these animations Rotate then scale Perfect :)) Spring animation: This is a scale animation with a bounce effect. Use function ‘Animated.spring’ to do spring animation Add friction (number), the smaller value, the slower boucing effect Because of spring animation is a scale animation with a bounce effect, so pass springValue to transform->scale Work perfect πŸ˜€ Sequence animation: Start the array of animations in a sequence, one afters one. Stagger animation: Start the array of animations in a sequence, with a delay time when transition animation. THANK YOU FOR WATCHING, REMEMBER TO LIKE AND SUBSCRIBE

Masha and The Bear – Home Alone (Episode 21)

Masha and The Bear – Home Alone (Episode 21)


Oh, wow! What? Is it Christmas again? Oh! Bear is probably still sleeping. Oh, we need to wake up our Bear! Bear! Wake up now! Bear! Are you not going to celebrate Christmas! But there will be presents. No, this will not do at all. I will decorate everything in no time. Oh, I am feeling so wound up! I will be happy-happy and celebrate this Christmas! Oh, you guys are good! You’re not sleeping, you’re decorating! Just a second! No… This is for boys. Boys! This is for you! Merry Christmas! Oh wow! Squirrels are not asleep either! Happy Holidays to you too! No… This is only for squirrels. Whoo hoo! Look everyone, how wound up I am! Phew… I’m so tired Look what I can do! Abracadabra! Oh, wow! It’s like it is a real celebration! Wow! And this present, who is this for? Ah! It’s a present for Bear! Merry Christmas, Bear! Uh-uh. We need to help this tree. Whoo-hoo! Whoo-hoo! It’s Christmas again! Bear! Here is another ornament! Oh, wow! Bear! Look! It’s Santa Claus! Here!

PHP Inbox System Introducing

PHP Inbox System Introducing


How to create PHP Inbox System from scratch,
we’ll use HTML,PHP,Jquery,CSS People who don’t know much about PHP don’t worry I’ll
try to explain it more Here i’m showing only 5 messages on the page, and i have pagination
moving throught messages Also i’m showing on the table the message “ID”, “From”, “Email”,
“Subjec”t, “Message”, “Sent time” and the “message” is opened or not, we will take a look to the
database i created a Database i called it “Messages” I created table inside it and called it “Messages” the “messages” table contains “ID”, “From”, “Email”, “Subject”, “Message Content”, “Date”, “Time”, “Open” And If message is opened it will be 1, if not it will be 0, here i’m showing
inside every message “From”, “Email”, “Date”, “Time” Time Format is like Facebook, Also you can
Delete The Message Watch Part 1 of this tutorials now.

Weak-Hearted Elephant: The Elephant Who Changed Based on Who Was Nearby

Weak-Hearted Elephant: The Elephant Who Changed Based on Who Was Nearby


Devadatta, the Buddha’s infamous cousin, had gained the favor of Prince Ajatasattu. He built a monastery for Devadatta and brought him the best food and gifts. Devadatta was so well taken care of that he barely needed to leave the monastery. At that time, there were two friends who decided to ordain. One ordained under Devadatta and the other ordained under the Buddha. One day, the disciple of Devadatta met up with the disciple of the Buddha and said “Why sir, do you go for alms? You barely get any food, and are sweaty and tired. At my monastery, we eat the best foods without having to go out for alms. You should join us! There is more than enough to share!” After being pressured enough, the monk who had ordained under the Buddha decided to go eat with the monk who had ordained under Devadatta. They skipped going out to collect alms and feasted at the monastery. So when his fellow brothers found out, they asked him if it was true that he feasted at the temple of Devadatta, the person who had tried to kill and usurp the Buddha on numerous occasions. They discussed the virtues of the Buddha and could not understand how the brother could be so weak-hearted. They decided to take him to the Buddha. When he saw the weak-hearted monk, the Buddha asked him, “Is it true what they say?” Nervous the monk said “I was not with Devadatta sir! I was with others!.” The Buddha then said, “Devadatta is one of bad character. How could you, who took vows here, eat his food while breaking the vows you took with me? This is not the first time you have been easily led away. In the past, you followed others at every turn.” And the Buddha proceeded to tell this story of the past. “A long time ago, the king had an elephant named Gentle-face, who was virtuous and good and never hurt anyone. The king was very proud of his elephant and loved to show him off.” “One night some bandits took shelter behind Gentle-faces stable and discussed their plans. They made plans to tunnel into the house, break through the walls, carry off all valuables and murder the owners to eliminate witnesses They said, “One must have no virtue in no righteousness A true burglar must be devoid of pity and be full of cruelty and violence.” “When Gentle-face heard this, he thought that the buglars went instructing him and decided to follow their advice.” “The next day, when gentle faces trainer came in to check up on Gentle-face, the elephant grabbed him with his trunk and threw him to his death.” Anyone who came close to Gentle-face was stomped to death. When the king heard the news of Gentle-face’s transformation, he felt very distressed. He asked his wise advisor to go find out what was wrong with gentle face “The wise advisor contemplated what could have happened? He inspected Gentle-face from a safe distance and saw that there were no bodily ailments.” “The wise advisor then interviewed the elephant’s keepers and asked them if anything had changed recently in regards to Gentle-face. They told the advisor about the burglars recently seen around the stall. The wise advisor then was able to properly ascertain what happened.” “After he told the king, the wise advisor was asked how to fix this problem. He then explained, “Since Gentle-face was corrupted by talk by evil men, we must use the opposite as medicine. We must use words by wise men to uncorrupt and purify Gentle-face’s mind.” The wise adviser then had wise men hold discussions and talk of goodness behind the stall of Gentle-face.” The wise men spoke, “one should not hurt, mistreat or kill others. A good person should be loving,
compassionate and merciful.” Hearing this the elephant thought that they must be there to instruct him and resolved to be good. “The elephant followed the wise men’s instructions, acted appropriately, and created no further harm.” The Buddha then concluded the Jataka by explaining that Gentle-face was none other than the weak minded monk. The king of those days was none other than Ananda. And the wise man of the court was none other than the Buddha himself. What do you think the moral of this story is? We hope you enjoyed the video. Click LIKE if you did and click SUBSCRIBE if you want to see our uploads.

Vir The Robot Boy | Hindi Cartoon For Kids | Vir vs yeti | Animated Series| Wow Kidz

Vir The Robot Boy | Hindi Cartoon For Kids | Vir vs yeti | Animated Series| Wow Kidz


Vir’s school group is going to The Himalayas. You have to go there and destroy them. You have to finish Vir. Haha!! Mona! Hey! Where are you ? Yeti! Boss. Have a look at my invention, Mona. What has happened to my Yeti ? Boss!! You should praise me boss. I burned down this Yeti with laser gun. Otherwise he would have terminated you. Timbaktoon! This was my robot. I had invented it to finish Vir. You have burnt it. I will have to make it again. It’s very cold here. Mrs. Sen Gupta, this is the Himalayan region. So it is obvious that this region is going to be cold and not hot. I will increase the camp fire. Vir, we have reached here safely. Inform grandfather now. Oh yes, I had forgetten. Grandfather, we have reached safely. How are you? I’m fine, just removing the water out from our house. It’s filled in here. Water is filled in there? Is it raining there? Haha! Yes son, it’s raining here. Rain of tears. Since the time you stopped Gintu and Chulbul from coming with you. They have filled the house with tears. Vir, please call me there. No! Whether you cry or you sing. I won’t give you the permission to come here this time. Stay there. It’s an order. Vir, take care of yourself. Ok! Grandfather. Sir!! There is a huge shadow. Come on everyone, go back in your tent right now. I was sure that you will go near that tree. And that’s the reason even I joined. Look. Someone is there behind that tree. Hi, I am Vir and she is Imli. Don’t be scared. We won’t harm you. Will you be my friend? Eat this, it’s a chocolate, it’s very tasty. Give it to me as well. High five. Let’s do Yeti’s style . Yeti’s style. We are friends from today. Take, have more chocolate. Choc Choc is very tasty. Yes, thanks! It’s called chocolate. Vir, what are you doing here? Sir, I came to check whose shadow it was. But there is nothing here. It is only a tree’s shadow. Alright, go and sleep now. Tomorrow morning we have to leave at sunrise point by cable car. Oh! What is happening here? Look, something is there. This is Yeti. Now what will happen? He was the one I saw at night. I told you. All that I saw was his shadow. Robo boy suit on. Robo boy suit on. Robo boy has come. Robo boy has come to save us all. Why have you come here? Please go away. These people will get scared of you. Hey! I am Vir, your friend. We met last night right? Remember? I have become a robot boy just to reach you through this rope. I am Vir, try to recognize me. Haha!! Vir, thinks that he is a real Yeti. Very good. Vir, won’t attack him thinking that he is a real Yeti. And my robot will finish him off. Sorry, my friend. Thank you Robo Boy. Run everybody! Sorry friend, mistakenly you felt down. I had no intention of pushing you. I just wanted you to return back. Sorry, we are friends. Have this chocolates. Leave me. He took Robo Boy along with him. Kakkad sir, please do something. Yeti’s style!! Yeti, you finally recognized me. Yeti’s style. How are you feeling Vir? Today you can’t escape. My Yeti robot will finish you. Oh! So this is the matter. I was fighting with a robot. Friend you get aside. I will see him. Look there, Robo boy is still fighting. Boss!! Our robot is ruined. He is right boss, he is right. I am mad, very very mad. Friends he was not Yeti, but a robot who is now finished. Now there is no danger to you all. Thank you Robo Boy. Imli, where is Vir? Don’t know. He must be hiding somewhere. Hey! Where has the Yeti gone? You didn’t see? Oh! You must be hiding out of fear. Haha!! You are a coward. Why are you both giving high five? Sometimes I doubt that Vir is the robot boy.

Clean LOGO REVEAL in Premiere Pro | Cinecom.net

Clean LOGO REVEAL in Premiere Pro | Cinecom.net


Today I’m going to show you guys
how to create this modern logo reveal inside Adobe Premiere Pro. And the great thing is that also Premiere
Pro CS6 users can just follow along, so, let’s get started. What up guys! Jordy here
for cinecom.net and welcome again to a
very exciting tutorial. This time we’re going to create
this modern logo animation, something similar that we did
a couple of months back but we had so much positive reactions on it
that we just had to create another one, a new design and also new techniques. Now, before we are going to start I first
want to thank the sponsor of this video which is Rocketstock today, and they
have actually launched a brand new pack called interface, and I’m also very happy that I was
able to test this pack out and it actually looks very gorgeous. It is a pack with more than
400 video elements that you can use for your
next science-fiction project. And I definitely wanna make sure that
you guys subscribe to this channel because next week we are going to make a video about
how to track objects inside After Effects so, we’re going to feature this
entire pack in that video and how to use these elements
in your next film project. So, that is going to be pretty cool, there
are a bunch of things in here, like… …display elements,
overlay effects, etc. so, make sure to check that out, just follow this first link in the description below
and that will bring you to this exact same page where you can read all about it. And definitely make sure to check out this
awesome promo video, it is really cool. Alright, let’s get started
now with the tutorial. I’ve got a blank sequence right here and the
first thing I want to do is create a background. And you can do that from the new item button
down below here and just select Color Matte, press OK, select a white
color again, press OK, and just give that any name,
for example “Background” and drag that solid or color
matte into the timeline, like so. Then, right here what I have
is a logo, it’s a PNG file, and, actually, let me just extend
this a little bit bigger, this is a logo with a transparent background,
and that is something important that you do need. But typically your logo is designed in
Illustrator or perhaps Photoshop, so in there you can kind of
disable that background, export it as a PSD or as a PNG file,
so that it is transparent. Alright, the next thing I’m going to do is create a
square that is going to pop open from the middle. And, again I’m going to click on that new item
button down below here and select Color Matte, this time not the 1920 width,
but the 1080 width. and that way the dimensions
are at a square, press OK, and I’m going to select a color from my logo
which is always nice to have the same colors, so, I’m going to use the color
picker, down below here, and just select the same
red here, as my camera, like so, and then just press okay and give that
any name again, for example Square, press OK and drag that into
your timeline, like so. Now, we could do the animation here on
the motion from your Effects Controls panel, but, actually, the better way to do that is from
your Effects Library and just search for Transform. This is something that I’ve
actually covered in a video that I’ve done before about the
five essential effects that I believe any advanced editor should
know about in Premiere. And this will actually allow
us to create motion blur. So, just drag that effect
onto the square and and, from here, what I’m gonna do
is just animate the scale. You can let it start from
zero, for example, enable the keyframing for that,
go a little bit forward in time and just increase that scale
to something like this here, so that it pops open very nicely. and then we’re going to put that back to
zero scale, so just make that zero, like that, and now we’ve got three keyframes and the
animation should go to something like this. Now, what we’re going to do is kind of
play around with these keyframes, so that we have a nice-looking animation,
because this looks very robotic, doesn’t look good. So, the first thing I want to do is actually
just kind of move these keyframes a little bit closer to each other so they
kind of pop open a bit faster, like so. And what I’m gonna do next is
here, on the middle keyframe, just right click on that
and say “Bezier”. And, that way, we kind of have the
animation go smoothly to that point and it goes out again smoothly. Let’s just play that so you can
kind of see what it does here. Looks pretty good. Now, actually you can kind of fine-tune this
even more by opening up that Scale property and from here, you can actually see the
curve of what that animation is doing, and by selecting that keyframe
you can kind of change that curve. So, what I’m going to do
here is pull this lever, and that way you can kind of
see how this curve goes. In the beginning it will go pretty fast
and then it will smoothly stop and go to that keyframe. And, from there, I’m going to pull
that second lever here as well, it’s going to start again, smoothly,
and go faster and faster and faster. So, let’s have a look at it, this looks actually pretty nice. alright, let’s now add that
Rotation effect to it. This works kind of the same way, I’m going to create a keyframe for
the rotation right here at zero, just go to the ending position right here,
because there’s no need for a middle keyframe, and just kind of let that rotate
a couple of times… …like that. And you want to do something similar here,
I’m going to right click on the first keyframe and actually now you say “ease out”, and that is because this is not a middle
keyframe but a starting keyframe, and for starting keyframes you
always want to select ease out and for ending keyframes you
always want to select ease in. So, open up that Rotation property and
I’m going to pull that lever here, as well, something like that. And let’s have a look at this. Okay, perhaps this is going a bit too
fast, so let me just change that… …last keyframe here. Perhaps a little less rotations, something like this let’s
just have a look at that, this looks… better. I thought it needed more rotations,
but apparently I don’t. Let’s look at that, this looks
actually pretty nice. Perhaps pull that lever
a bit down here, as well, because the flatter this curve is,
the less it will turn, and the more it will go up,
the more it will turn, so, that way you can kind of see
here what it kind of does. And this is often something that you
have to play and then tweak again, look at it, see how
your animation goes, but I’m actually pretty satisfied
with this results here, so, let’s go with this. Now, I was talking before that with this effect
that we can actually enable motion blur and that can be done
from down below here, instead of using composition’s shutter angle,
we’re going to set one ourselves. and 180° is a natural shutter
angle, so let’s set it on that. Let’s play this now, this looks
pretty nice, you can see it here, at those corners where we have
this nice motion blur, looks way more natural and we have
a nice animation now, as well, too. Okay, so this is over, the first square, The next thing we’re gonna do
is actually duplicate this layer and we can do that from
holding down the Alt key, drag that layer to a
new channel, like that, and I’m just going to offset this
a couple of frames to the front, like so, and we’re also going to tweak
those keyframes a bit more. Oh, by the way, you can offset this frame
by just holding down your Alt key again and just pressing the arrow
keys on your keyboard, and that way you can kind of nudge
this clip one frame forward or backwards. Alright, to make sure that this square
here is actually going to work as a gap within the first square, what I’m gonna do is go back to the effects
here and search for the Track Matte. This is, by the way, again an
effect that I’ve covered before, in that Five Essential Effects video, by the way, you can find a link to
that video in the description below. And I’m going to drag this effect to the
first square that we’ve created prior, and I’m going to scroll down
here in my Effects controls and locate that effect, it’s right
here, the Track Matte key, and our matte is, in this case,
video channel number 4, which holds that duplicated
square effect, and I’m going to say “Reverse”. And that way now you
can kind of see here, that the second square is going
to cut out from the first square. I’m going to tweak the second square a little bit
more, because let’s have a look at this, here… …can kind of come in
a little bit later, as well, so I’m just going to move up this
keyframe of the scale a bit more, like that, and perhaps I might also want
to make sure that it kind of… …starts a little bit more smoothly,
so I’m going to… …right click on that first keyframe
of the scale and say ease out, so that we have kind of
two different animations and kind of pull this lever here perhaps, let’s
see how that looks, this looks pretty good, perhaps move these
a bit more apart. Again, something that
you have to play with, to kind of make sure that they
are at the right position, something like this here,
looks okay, and you also wanna make sure that they
kind of close sooner as the big square something like this
looks okay, perhaps one frame
back, like that, because we want to make sure that
the camera is going to reveal itself when the square is covering that, so something like this looks
actually pretty nice. So, the big square’s coming in, then
we’ve got that smaller square and we actually want
to make that larger, like so, so that is cutting
in here, as you can see, and this looks pretty nice. It’s going a bit faster than the
example that we’ve done here, but actually it’s not
that bad, look at this. If you wanna make it
to go slower, then you can just kind of play
around with these key frames. You know what? I’ll leave both
of these examples in this project which you can download for free and then
you can kind of play around with these and follow along with
this tutorial too, and that way you have a fast
and a slow version of this. Alright, now that we have
these squares out of the way, we’re going to focus
now on the logo itself, and to start with I’m going to scale
this down a little bit, like so, and, also here, I’m going to
drag that transform effect to it, which is right here on that logo, like I said before, always work
with that transform effect if you are going to do animations to get
some natural motion blur in there. So, when the square kind of
covers the entire logo, we can trim it to our
play head, like that, so that it only pops up when
the square is covering that, and I’m going to add like
a tiny bit of a scale to it because this square is kind of
pulling that logo from behind, so I’m going to start with a
scale value of 70% somewhere, and when the squares here are at
its maximum somewhere, I’m going to put this at a 100%. Again, also here right-click on that
last keyframe and say ease in, and that way the animation
will slowly stop to that point, something like this, and perhaps
I want to pull this a bit more, so that definitely stops
smoothly, like that, and perhaps separate
them a bit more, so that the animation goes
a little bit slower, like that. This is actually looking pretty nice. And what I’m also going to do is
add a tiny bit of rotation to it, not too much like we did
before, just a tiny bit, so, create a keyframe for the rotation,
this is going to be the last point already, so, I’m going to move up this keyframe
to that final position here, and then I’m going to create the first
keyframe actually by offsetting that value like so, let’s just
have a look at it. this looks actually pretty nice. And we can actually move
this keyframe a bit further, it kind of has like an extra
effect to it with this turn, something like this. again, make sure that this keyframe
here again, “ease in”, and let’s play this now, this
looks actually pretty nice. perhaps I do want to bring it
a little bit closer, like that. Alright, this looks good and,
again, you can always… go in here and tweak that curve
a bit more, if you want so. So, if you only have like one color in your
logo, then this might already be enough… …for your logo reveal, but if you have some accent into it, like we have with this
camera inside this logo, you can actually key that out, and we
can use that for an extra animation, like we’ll do right now. and we’re going to create
two layers of that logo, so, I’m going to head over to the
opacity here, with this layer selected and I’m actually going to create
a mask with this here, and let me just zoom in
a bit more on that logo, and just kind of create a mask that we
are cutting out that camera in here… …like that, and I actually wanna make sure that
the feathering here’s off of that mask, we don’t want that. And, of course, the first animation was to
reveal that stuff around this camera, so I’m going to say invert
that mask, like so, and now I’m going to drag these
two layers, these two squares, one channel higher, like that, so that I can copy this
layer here, this logo, by holding down the Alt key and
dragging that to channel number 3, so that we have a copy of that,
and the second logo here, with that selected I’m going
to de-invert that mask, and that way now we’ve got one layer
here that has this camera icon into it and the first layer only has that outer
here which is the speech bubble. Now, when changing the position
here, of these squares we also kind of broke something
here and that was that track matte. You can see here that it’s not working
anymore and that is because with that layer selected I’m going
to go back to track matte key, and you will see that actually
now the matte layer… has changed position, so you also
want to change that back to, now, video channel number five,
which is this square right here. This looks pretty nice here, but the internal camera may only
pop out as it’s covered at this point, so I’m going to trim that second
logo layer here to that point, let’s play it now, and
that looks pretty nice. And to give it that extra
touch, also here, I’m going to add a little bit rotation
to that logo, so I’m going to select that, and we’ve already copied that Transform
effect here by duplicating that layer, so we can actually just remove
the keyframes of that rotation and kind of reset that value again,
and create new keyframes. So, I’m going to rotate that
camera a little bit, like that, create a keyframe forward
to go a bit forward in time, and bring that to zero. and also here make sure that the last keyframe
is eased in, so that it kind of looks okay. Something like this, and perhaps
I also want to make sure that the rotation is smoothing
out here a bit more, so just kind of pull this lever
so that it’s turning fast because of that square
that is going in there, and then it kind of just
fades out like that, something like this, perhaps
offset this a bit more, like that, and this looks
actually pretty nice. So, right here it is guys, the faster
version of this logo animation. Again guys, if you like to download
this projects file, you can do so from
the link down below, and you can kind of practice here
on the same logo, as well, make sure to thumbs up
this video if you like so, and make sure to subscribe because we
are putting out multiple videos a week. Thank you so much
for watching, and, as always… …stay creative!

Creating Randomized Web Animations with CSS/Sass

Creating Randomized Web Animations with CSS/Sass


When I started working on this ocean, I
started teaching myself how to do a staggered affirmation with CSS with
these bubbles. But I quickly discovered that there was something very uniform and not natural about having about having a loop where you’re just saying like hey, maybe
there’s a one-second delay between when each of these animations have these
bubbles and so I was like oh I wonder if there’s like something in Sass where you
just introduce a little bit of randomness, and your code can be clean
because you’re not actually just coming up with random numbers. So you can see
that it’s just a random number, but you’re also not doing very uniform delays. And that’s actually what’s going on here. I can switch back to my code and I have this bubble class where I have written this loop that goes through and add animation
delays to each element in the scene that has a classic bubble and it adds a delay that you’d expect of like, you know, it basically increases, the delay increases
by one second for each nth child, so like the third bubble it’s gonna have a delay of
like three seconds. But then we’re also doing some fun Sass random math where I’m asking Sass random, it’s gonna let you define a range for your
random number, and it’s typically one to another number. And I really wanted it to
be between zero and one because I didn’t want there to be huge differences in the delays. So I wrote random ten and then times it by point one, I’m adding the
necessary syntax of it has to be, I want it to be n seconds. I think it gives it this
nice sort of organic feel without actually being a
complicated solution.