crixel
crixel
Crystal sixel renderer
Installation
- Add the dependency to your
shard.yml
:
dependencies:
crixel:
github: fliegermarzipan/crixel
- Run
shards install
Usage
require "crixel"
# create a canvas
width = 5 # px
height = 5 # px
img = SixelImage.new(width, height)
# change pixel color at x, y coords
img.set(3, 3, 0xFF0000_u32)
# draw
img.render_naive_full
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/fliegermarzipan/crixel/fork)
- 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 a new Pull Request
Contributors
- Robin Broda - creator and maintainer
Repository
crixel
Owner
Statistic
- 4
- 0
- 0
- 0
- 0
- about 6 years ago
- November 12, 2018
License
GNU Affero General Public License v3.0
Links
Synced at
Sun, 22 Dec 2024 04:14:58 GMT
Languages