Project

gasciiart

0.0
No commit activity in last 3 years
No release in over 3 years
Use this gem to create a git repo that can play it's file frames as a git animation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 0.4.0
= 2.10.0
 Project Readme

Gasciiart

Gasciiart creates an animated git repository. Each frame of ASCII animation is a separate commit.

Using the run.sh script, the repository will "play" itself by checking out each commit in turn and displaying it.

Installation

Add this line to your application's Gemfile:

gem 'gasciiart'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gasciiart

Usage

You should have an input directory where each frame to be animated is a separate file. e.g.:

- input/
  - 00001.txt
  - 00002.txt
  - 00003.txt
  - 00004.txt

(The filenames are sorted by Ruby, so use any naming scheme as long as the sort results in the order you want)

Run the command:

gasciiart --source input/ --target output/

(The output directory must not exist beforehand)

The output directory will have the run.sh script to start the animation.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2012 Drew Blas. See LICENSE.txt for further details.