GithubHelp home page GithubHelp logo

ryanhartzell / scanimate Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.72 MB

Tiny Python package for generating static animations (also known as 'scanimations')

License: MIT License

Python 100.00%

scanimate's Introduction

scanimate

Tiny Python package for generating static animations (also known as 'scanimations')

Leverages Moire patterns for motion effects.

Note that you'd currently need to fake things digitally to see movement which defeats the purpose, or (preferably) print the grid onto transparency paper or 3D print an opaque grid. Eventually I'll be creating a simple web-app to simulate the effect and provide an interface and API for generating scanimations of user uploaded image stacks or gifs, and I have follow-up plans to make a lightweight phone app (at least on android) which could display various "grid" patterns as an overlay of video from the camera/webcam.

Example:

Michael GIF

The multi-frame source GIF of Michael shrugging

Michael Scanimation

The resulting single-frame Michael Scanimation

Grid used to create effect

A columnar grid used to create the false motion when moved over top of the scanimation

scanimate's People

Contributors

ryanhartzell avatar

Stargazers

 avatar Sara Medor avatar  avatar  avatar

Watchers

 avatar

scanimate's Issues

Switch to mathematical descriptions of patterns

For any pattern there should be an analytical formula which can be implemented. They're all periodic in nature, so it should be pretty easy. Will need to do some fun stuff with phase in order to translate things properly on a meshgrid, but it'll make the most sense for more complex patterns like radial Moire spiral

Angular app

Make an angular app which we can host on project page, and which will eventually contain client-side code to run the app directly from static github-pages website. Likely TypeScript + Tensorflow.js is what I'm thinking

Moire class build-out

Need to continue translating proof of concept script into easy-to-use single class interface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.