potsbo / any-ticker

Extension of "golly-ticker" in Conway's "Game of Life"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

any-ticker

Extension of "golly-ticker" in Conway's "Game of Life", including useful tools for "Game of Life"

Introduction

This program enables us to make and convert files for Conway's Game of Life.

Any Ticker

The biggest feature of this program is "any-ticker", which makes a ticker message, like golly-ticker, which works under the rule of Conway's Game of Life. The output file will be saved as Life 1.06. It is recommended to open it with Golly

File Conversion

When I was writing "any-ticker", the file conversion from rle to Life 1.06 was necessary I have written a program to make and included it.

Motivation

To show any string or image as a ticker just like golly-ticker.

Install

You can simply use any-ticker by this command below in a terminal. git clone https://github.com/potsbo/any-ticker.git && cd any-ticker && make Certain programs are required.

##Usage I have implemented subcommand system.

Any Ticker

Use the command below to use any-ticker in very basic way. Note that you have to change "" into suitable values. life ticker -m "<message>" -s <font size> -f <font name> If you want just a ticker message, the command below is the easiest way. life ticker -m "<message>"

TFont

The font file format required for this program is tfont which I have made. Basic rules of this formats are

  • live cell is "*"
  • dead cell is "_"
  • just above the font data, the letter and the letter size must be specified
  • a font data can be shared by more than one letters and sizes

Future Works

  • To add a function to make a ticker message from a black/white image.
  • To make this compatible with font files written in Life 1.06 format.

Note

I'm trying to convert this into a cpp program gradually, since I had written in C firstly.

Licence

Released under MIT licence.

About

Extension of "golly-ticker" in Conway's "Game of Life"

License:MIT License


Languages

Language:C++ 91.2%Language:C 4.3%Language:Shell 2.7%Language:Makefile 1.8%