@ansi-art/char-subgrid

3.0.0-alpha4 • Public • Published

AsciiArt.CharSubGrid

Bridging the gap between 1 dimensional strings + control characters and 2 dimensional canvases

Blocks

This class works in single character 4x4 unicode square grids to convert 2d data to grids of characters

AsciiCharBlocksTransformeris an instance of AsciiCharSingleCharTransformer

Braille

This class works in double character 8x8 unicode square grids to convert 2d data to grids of characters

AsciiCharBrailleTransformeris an instance of AsciiCharDoubleCharTransformer

Slants

This class works in single character 4x4 unicode square grids to convert 2d data to grids of characters

AsciiCharSlantsTransformeris an instance of AsciiCharSingleCharTransformer

Testing

just run npm run test or npm run container-test

Contribution

Please PR contributions against develop with jsdoc and mocha tests for the new functionality in place.

The project uses Conventional Commits and the Fork + PR development model.

All activities in the project are available as npm actions.

Enjoy,

Abbey Hawk Sparrow

Package Sidebar

Install

npm i @ansi-art/char-subgrid

Weekly Downloads

2

Version

3.0.0-alpha4

License

MIT

Unpacked Size

58.2 kB

Total Files

35

Last publish

Collaborators

  • khrome