# Ascii To Svg Generator for Ruby
This module generates beautiful svg images based on a string input.
## Examples
e
```ruby
character_set = [ '-', '/', '|', "\\", '#' ]
```
```ruby
character_set = [ '-', '|', '#' ]
```
```ruby
character_set = [ '-', '|', '#', 'o', '\\' ]
```
```ruby
character_set = [ '|', 'o', '.' ]
options = {
style__line__stroke__color: 'brown',
style__ellipse__stroke__color: 'orange'
}
```
```ruby
character_set = [ '/', '\\' ]
options = {
style__line__stroke__color: 'brown',
style__ellipse__stroke__color: 'orange'
}
```
```ruby
character_set = [ 'x', '.' ]
```
```ruby
character_set = [ '|', '.', '-' ]
options = {
style__canvas__fill__color: '#0A0C10',
style__line__stroke__color: '#8D949D'
}
```
## Quickstart
1. Install `gem`
```ruby
gem install 'ascii_to_svg'
```
2. Run Code
```ruby
require 'ascii_to_svg'
# Generate Example String
ascii = AsciiToSvg.example_string( ['x', 'o'], 256 )
# Generate SVG
svg = AsciiToSvg.from_string( ascii, 16, {} )
# => "