background preloader

Animations

Facebook Twitter

Discover your Patronus – Active Theory – Medium. Pottermore.com launched the Patronus experience in September 2016, allowing fans to access one of the most famous magical elements in J.K.

Discover your Patronus – Active Theory – Medium

Rowling’s Wizarding World. This is the one and only authentic Patronus experience, devised with detailed input and direction from J.K. Rowling who has had a very clear and well-documented vision of what a Patronus is, how it behaves and what it looks like, for almost twenty years. Pottermore’s challenge, was to take that detailed, intricate description — a piece of J. K. Users are rewarded their animal Patronus, for partaking in the experience. Building an optimized infinite forest One of the first Patronus scenes for Potter fans is in the 3rd book, Prisoner of Azkaban. By summoning a single happy memory and then responding to a series of those short, time-sensitive multiple-choice questions on screen, users are able to discover and ultimately be presented with their Patronus — which has been chosen for them using J.K.

Making authentic Patronuses. Textillate.js + bounce.js. Davatron5000/Lettering.js. Animar con animateMotion. Hemos visto que <animateTransform> nos permite animar objetos SVG en línea recta. attributeName="transform" type="translate" El elemento <animateMotion> nos permite, además de esto, animar objetos SVG a lo largo de trayectorias complejas definidas con <path>.

Animar con animateMotion

Un ejemplo básico En el siguiente ejemplo dibujamos un circulo azul con <path>, y un pequeño triángulo rojo con <polygon>. Para simplificar las cosas dibujamos tanto el trazado <path> como el triángulo <polygon> a partir del origen del lienzo SVG, lo ponemos todo en un contenedor común <g> y trasladamos el contenedor en el punto donde queremos que esté. Queremos animar el pequeño triángulo rojo a lo largo del círculo dibujado con <path>.

Path="m0,0 a70,70 0 1, 0 0,-1 z" html Dibujar arcos elipticos con <path> En el siguiente ejemplo haremos que el pequeño triángulo rojo se desplace en el sentido del reloj. Path= "m0,0 a70,70 0 1, 1 0,-1 z" // en el sentido del reloj path= "m0,0 a70,70 0 1, 0 0,-1 z"// en el sentido contrario. Balloon.css — CSS tooltips for HTML elements. Simple tooltips made of pure CSS Balloon.css lets you add tooltips to elements without JavaScript and in just a few lines of CSS.

Balloon.css — CSS tooltips for HTML elements

Github ProjectDownload CSS Positioning For positioning, use data-balloon-pos attribute with one of the values: up, down, left or right. Progress.js - Themeable progress bar library. Meet Luminous & Drift—New Lightbox & Zoom Viewer Libraries. Superplaceholder.js - super charge your input placeholders. Connoratherton. Hamburgers by Jonathan Suh. Usage Using Hamburgers for your site is easy (well, that was my intention anyway).

Hamburgers by Jonathan Suh

Sass I’ve also included .scss source files if you use Sass as your CSS precompiler. It’s customizable and modular. Download and unzip the source code from Github. Hamburgers is also available on npm and Bower. npm install hamburgers bower install css-hamburgers * Be sure to run the CSS through Autoprefixer since the Sass doesn’t account for vendor prefixes. Customization Here is the full list of default settings (found in _sass/hamburgers/hamburgers.scss); $hamburger-padding-x : 15px ! To override any default settings, you can change the value(s) within hamburgers.scss, but I recommend you declare your new settings separately. $hamburgers-padding-x: 20px;$hamburgers-padding-y: 15px;$hamburger-types : (collapse); @import "path/to/hamburgers"; You can also create a separate file (e.g. hamburgers-settings.scss) with those declarations, then import it along with Hamburgers: ems or rems Not satisfied?

Accessibility. Daneden/animate.css. Animate.css. Reveal Animations When Scrolling — WOW.js. Link to the CSS animation library Link to Animate.css (You can link to another CSS animation library by changing WOW.js settings) Link and activate WOW.js <script src="js/wow.min.js"></script><script> new WOW().init(); </script> Make an element revealable Add the CSS class .wow to a HTML element: it will be invisible until the user scrolls to reveal it.

Reveal Animations When Scrolling — WOW.js

<div class="wow"> Content to Reveal Here </div> Choose the animation style Pick an animation style in Animate.css , then add the CSS class to the HTML element.