dot_display
Version, currently master branch1 version
- master branchlatestApr 3, 2024
github.com/SleepingInsomniac/dot_display
Braille characters as a display matrix
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
dot_display:
github: SleepingInsomniac/dot_display
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.11.2- License
- MIT
- Author
- Alex Clink
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Apr 3, 2024
- Crystal
>= 1.11.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/SleepingInsomniac/dot_display
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1