Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rafaqz/UnicodeGraphics.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Sep 25, 2018
2 parents e6bb06d + 512b197 commit c86d685
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ ghost = [1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0
1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0]


julia> print(brailize(ghost, 0.5, 2:15, 4:17))
julia> print(brailize(view(ghost, 2:15, 4:17), 0.5))
⠀⣠⣴⣶⣦⣄⠀
⣨⡄⢹⣯⡄⢹⣇
⣿⣶⣿⣿⣶⣿⣿
⠋⠈⠛⠀⠛⠁⠙
```

Where 0.5 is the cutoff point, 2:15 is the y range and 4:16 is the x range.

0 comments on commit c86d685

Please sign in to comment.