Ales Zigon
08-15-2002, 09:25 AM
I don't know how do you call this (boredom or just empty head), but this is exactly what came to me this morning. I was sitting by the PC and looking into the screen with totaly empty head. Next thing I remember (well almost) is this piece of code on it.
It's nothing fancy. I was just playing around with no idea at all and this came out.
It's a little sample of slightly different label...
It uses its own set of characters (not perfect but still...) 'coz I couldn't figure out how to convert windows ones.
These characters are saved in a file Character map.txt.
Characters are assembled on 5x8 matrix (can be changed).
You can enter your text in the textbox and hit ShowText or load some text from a file (hit Load text from file). This file is called Testdocument.txt
One problem with this is, if the text is long, it takes quite a wile to calculate the characters (still working on it...).
There's a piece of code that's not mine (conversion routine from base 10 to base 2). I think its origines are here...
Anyway, play with it.
Any comments are welcome! (please don't shoot the messenger!)
Have fun!:D
It's nothing fancy. I was just playing around with no idea at all and this came out.
It's a little sample of slightly different label...
It uses its own set of characters (not perfect but still...) 'coz I couldn't figure out how to convert windows ones.
These characters are saved in a file Character map.txt.
Characters are assembled on 5x8 matrix (can be changed).
You can enter your text in the textbox and hit ShowText or load some text from a file (hit Load text from file). This file is called Testdocument.txt
One problem with this is, if the text is long, it takes quite a wile to calculate the characters (still working on it...).
There's a piece of code that's not mine (conversion routine from base 10 to base 2). I think its origines are here...
Anyway, play with it.
Any comments are welcome! (please don't shoot the messenger!)
Have fun!:D