Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.17 KB

I'm not a Gif maker, I'm a developer

Recently, I discovered the cool animation which transforms a tick into a plus in the I/O 2014 app. I looked for code that animates this button and I came accross this: a frame by frame animation aka GIF!

I through it must be a way to do it programmatically. After reflection, it's not easy to get the same effect.

Finally, I found a simple way (playing with canvas rotation + line translations) to mimick the animation.

Animated gif

License

Copyright 2013 Flavien Laurent

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.