Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Let’s make a better printing animation together!

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41544
    bookcasey
    Member

    I made this little [Codepen demo](http://codepen.io/bookcasey/pen/Finbf) of a ‘printing’ page.

    Basically, the animation is:

    @keyframes print
    0%
    +translateY(-75%)
    100%
    +translateY(0%)

    And called with: `animation: print 3s cubic-bezier(.75,.8,0,-0.5)`

    I played around with `cubic-bezier()` to get the back-and-forth type movement a printer makes when going back over to plop down some more ink.

    I’ve curious is anyone has any tips to make a more detailed / realistic, or at least read better like it’s coming out of a printer.

    Thanks!

    #118759
    DustinWoods
    Member

    [Here’s my go at it](http://codepen.io/joe/pen/zykhi “Printer Effect”). I think the key is emulating the jittery-ness of a printer. I used linear transition, but I made the keyframes have a stop-n-go feel.

    #118811
    bookcasey
    Member

    Thanks, Dustin. Very cool.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.