Home
Animated Me
Objectives
I was trying to create a portfolio web page with some animations, and found velocity.js. This is a great library, at that moment I begin to create things mixing CSS3 and velocity.js.
So objective is to create a portfoloio web page with some animations. This portfolio is not up to date, but for testing reasons.
Design
This project actually is separeted like a movie, it has actors and scenes. You will find that those actors has an animation begin and end. And every scene has a start.
So when the scene start I am making a promes that sync all the actors in that scene. For example we can say that the scene Card will actually show a wand, and then will do something else in the following format.
You can read from this code the scene card will actually start with a Wizzard Hat that starts, and drops a wand, then the wand will start and the hat stays a live moving the wand will write welcome.
So the actor welcome will start and the wand stays a live, then the welcome actor hides, and the wand sends a magic. A magic blast actor (in lack of a better name) will actually go from the wand to create a card of presentation.
So you can read each scene like a book, code should be easy to read, and while the final results could be much better for this web page, I believe the main concept is to make a separete of concerns and responsabilities and do something different while learning a bit of velocity.js.
The repo for animated-me is here is here
A working sample is here
Conclusion
Separation of concerns, animation with a good frame rate, velocity.js, CSS3. Also I made the hat and the image of the card with Inkscape. Hope you enjoy this demo, it was very fun for me to do it.
This is a nice approach as you can actually play with actors and the times they perform each animation in the way you need. Each actor does not know of other actors, they have blocking and non blocking operations in order to perform in the way you want in your scene.
Home
Did you like this post?
Share it in twitter
or
follow me!
Objectives
I was trying to create a portfolio web page with some animations, and found velocity.js. This is a great library, at that moment I begin to create things mixing CSS3 and velocity.js.
So objective is to create a portfoloio web page with some animations. This portfolio is not up to date, but for testing reasons.
Design
This project actually is separeted like a movie, it has actors and scenes. You will find that those actors has an animation begin and end. And every scene has a start.
So when the scene start I am making a promes that sync all the actors in that scene. For example we can say that the scene Card will actually show a wand, and then will do something else in the following format.
You can read from this code the scene card will actually start with a Wizzard Hat that starts, and drops a wand, then the wand will start and the hat stays a live moving the wand will write welcome.
So the actor welcome will start and the wand stays a live, then the welcome actor hides, and the wand sends a magic. A magic blast actor (in lack of a better name) will actually go from the wand to create a card of presentation.
So you can read each scene like a book, code should be easy to read, and while the final results could be much better for this web page, I believe the main concept is to make a separete of concerns and responsabilities and do something different while learning a bit of velocity.js.
The repo for animated-me is here is here
A working sample is here
Conclusion
Separation of concerns, animation with a good frame rate, velocity.js, CSS3. Also I made the hat and the image of the card with Inkscape. Hope you enjoy this demo, it was very fun for me to do it.
This is a nice approach as you can actually play with actors and the times they perform each animation in the way you need. Each actor does not know of other actors, they have blocking and non blocking operations in order to perform in the way you want in your scene.
Did you like this post?
Share it in twitter or follow me!