This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.1 1.0.2
High Capacity Color Barcode (HCCB) displayed in SVG format
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2017-01-29 18:27:44 UTC
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/http 1.0.0 <= v < 2.0.0 1.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

README

High Capacity Color Barcode (HCCB)

This is an Elm project that displays data as an HCCB (High Capacity Color Barcode). It dynamically constructs an SVG element based on the data to display (i.e. on an HTML page).

Why?

For the project I'm pursuing, I needed a colorful barcode format that can pack a lot of data. In addition, I hoped to find a barcode that kids would find interesting. When I showed my daughter an HCCB she said "Oh, that one's pretty", so I decided the HCCB fit the bill.

In a future project, I intend to "stream" data through an on-screen HCCB--bypassing tricky usb-serial drivers and other methods of programming an Arduino in the classroom.

Status

  • Data is properly displayed as an HCCB [YES]
  • Data is transformed using error-correcting codes [NO]
  • Data is read from source as binary [NO]

About Barcodes

I discovered HCCB, among other formats, through Specifications For Popular 2D Bar Codes. Skimming through the various formats is quite informative.

Getting started

You need to have Elm 0.18 installed on your machine.

Compile the samples in this project with:

cd examples; make

Then view it:

elm reactor

Credit

Authored by Duane Johnson

License

MIT Licensed. Feel free to do what you want with this code; however, HCCB is patented by Microsoft and I have no idea if they want you to use HCCB or not.