crixel

Version, currently master branch1 version
  • master branchlatestDec 13, 2018

github.com/coderobe/crixel

crystal sixel renderer lib

4 stars
0 dependents
License: AGPLv3

Installation

# Add this to your shard.yml
dependencies:
  crixel:
    github: coderobe/crixel
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.27.0
License
AGPLv3
Author
Robin Broda

Dependencies

This version declares no dependencies.

README

crixel

Crystal sixel renderer

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  crixel:
    github: fliegermarzipan/crixel
  1. 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

  1. Fork it (https://github.com/fliegermarzipan/crixel/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors