Charosc

Generate text using depth-modulated, sequentially weighted multi-character selections. Expect bugs.
Installation
$ gem install charosc
Usage
Usage: charosc [options] <textfile>
--length, -l <i>: Output length in characters (default: 5000)
--depth, -d <i>: Sequence depth (default: 3)
--mod-enabled, -m: Enable modulation
--mod-top, -o <i>: Highest value in modulation range (default: 500)
--mod-bottom, -b <i>: Lowest value in modulation range (default: 2)
--mod-increment, -i <i>: Modulator per-step increment (default: 1)
--output-file, -u <s>: Output file
--version, -v: Print version and exit
--help, -h: Show this message
text = File.read("/path/to/text")
generator = Charosc::Generator.new(
text,
top: 300,
bottom: 10,
inc: 0.5
)
generator.generate(1000)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request