├── .gitignore ├── favicon.png ├── README.md ├── fish-pegged ├── page.js ├── index.html └── page.css ├── fish-swimming ├── index.html ├── page.css └── page.js ├── fish-swimming-more ├── index.html ├── page.css └── page.js ├── fish-pixels ├── page.css └── index.html ├── progress-bar ├── page.css └── index.html ├── LICENSE.md ├── button-color ├── index.html └── page.css ├── site.css └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonekorean/animation-workshop/HEAD/favicon.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # animation-workshop 2 | 3 | Various demos highlighting CSS animation performance. Check them out here: https://lonekorean.github.io/animation-workshop/. 4 | -------------------------------------------------------------------------------- /fish-pegged/page.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('button').on('click', doBusyWork); 3 | 4 | function doBusyWork() { 5 | var endTime = Date.now() + 10 * 1000; 6 | while (Date.now() < endTime) { 7 | // churn 8 | } 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /fish-swimming/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |16 | Demos highlighting different CSS animation techniques and how some perform better than others. 17 |
18 |19 | Source code is available in the GitHub repo. 20 | Questions? Hit me up @lonekorean. 21 |
22 |