dot_display
dot_display
A 1-bit display buffer that renders to 2x8 braille dot characters
Installation
- 
Add the dependency to your
shard.yml:dependencies: dot_display: github: sleepinginsomniac/dot_display - 
Run
shards install 
Usage
    require "dot_display"
    dd = DotDisplay.new(16, 16)
    dd.height.times do |y|
      dd.width.times do |x|
        dd[x, y] = true if (y + x) % 2 == 0
      end
    end
    dd.to_s # =>
    # ⢕⢕⢕⢕⢕⢕⢕⢕
    # ⢕⢕⢕⢕⢕⢕⢕⢕
    # ⢕⢕⢕⢕⢕⢕⢕⢕
    # ⢕⢕⢕⢕⢕⢕⢕⢕
Contributors
- Alex Clink - creator and maintainer
 
Repository
  dot_display
Owner
  
  Statistic
  - 0
 - 0
 - 0
 - 2
 - 0
 - over 1 year ago
 - April 3, 2024
 
License
  MIT License
Links
  
  Synced at
  Mon, 03 Nov 2025 22:14:56 GMT
Languages