Giter Site home page Giter Site logo

pomtiles's Introduction

pomtiles

A tiling program for making visuals with the pomological watercolor collection

Here's how it works: run pomfetch.py to fetch a bunch of pomological watercolors from Wikimedia's servers. It'll download 7500 of them into a folder called sources/. That's about 700 MB, so it might take a few minutes.

Then run pomlist.py to create a file, sources.json, that matches each source image up with an ID number. I don't package it here because you might want to add or remove images from your sources folder.

Tweak the number of frames you want in pomtiler.py, then run it to generate slide_deck.json.

Finally, run pomrender.py to render the actual tiled images that will live in imgs/. They're named in the form img###.png.

With that output, I run something like:

ffmpeg -framerate 1/12 -i img%03d.png -c:v mpeg4 -q 1 -pix_fmt yuv420p out.mp4

to generate a video with 12 seconds for each slide.

pomtiles's People

Contributors

aronatkins avatar thisisparker avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

aronatkins

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.