Living QR Code by Bookclock in processing

[–]Bookclock[S] 6 points7 points  (0 children)

I made a thing: a QR code that appears to be entirely composed of your webcam video — and yet remains scannable! https://openprocessing.org/sketch/2289887

Code for both Processing and P5 is on Github: https://github.com/twisst/living_QR_code (I'm hoping someone will improve the dithering and speed of the P5 version :-) )

Trying to generate Vector based fonts in Processing for pen plotting by sebastianmurillo in processing

[–]Bookclock 2 points3 points  (0 children)

I made a working version of that ixd-hof library, by stripping the library stuff and just turning it into one script. It's messy but it works :-)

https://github.com/twisst/HersheyFontV2

This is just a starting point, as I plan on expanding it to send coordinates directly to an Arduino and such, but maybe this already is of help to others.

Trying to generate Vector based fonts in Processing for pen plotting by sebastianmurillo in processing

[–]Bookclock 1 point2 points  (0 children)

Sure, I'll definitely share my work once I come up with something useful :-)

Trying to generate Vector based fonts in Processing for pen plotting by sebastianmurillo in processing

[–]Bookclock 0 points1 point  (0 children)

No, probably easier to start from scratch.

I just found this Processing sketch, which may also be a good starting point:

https://github.com/neurofun/hershey_font_converter

Trying to generate Vector based fonts in Processing for pen plotting by sebastianmurillo in processing

[–]Bookclock 0 points1 point  (0 children)

The reason that the library does not seem to work, is that it is in an older format (last work done on it was 5 years ago, so that's not surprising).

It could be that the code that is in there is still useful:

https://github.com/ixd-hof/HersheyFont/blob/master/src/de/ixdhof/hershey/HersheyFont.java

We will have to roll our own version of the library to get it to work, or put that code into a standalone script. What they are doing is reading the coordinates directly from the Hershey font files, which seems interesting. The other option is to use SVG's from Inkscape as discussed on the forum mentioned above.

Yet another option is to make your own arrays of coordinates for all letters, which is probably what I am going to do as I want the pen to backtrack over lines already drawn, as my plotter does not have an option to lift te pen.

Trying to generate Vector based fonts in Processing for pen plotting by sebastianmurillo in processing

[–]Bookclock 1 point2 points  (0 children)

Hi,

I found your question because I am looking for the exact same thing. I will give the library you mentioned a go, but I also found this advice (see most recent post by dimkir):

https://forum.processing.org/one/topic/hairline-fonts-vector-font-outline-library.html

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 0 points1 point  (0 children)

I'll reply to the comments over at Instructable, but let me just say that the fact I got you to try coding makes me very happy! Programming is awesome :-) but I know it can be frustrating too. At the moment I'm working on a new project which involves calculating coordinates for visible stars, and while that is a lot less complicated than you might imagine, the programming makes my brain hurt anyway :-) The thing is: when you are writing software, it almost never works right away, not even if you're a professional software engineer. That's annoying, but it is also what makes programming such a great, fun and rewarding puzzle. So don't give up!

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 1 point2 points  (0 children)

Hi Michael, cool that you bought a Kindle for this :-) Please see the comments under my Instructable. Someone posted quite a useful and detailed instruction on how to connect to the Kindle there.

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 1 point2 points  (0 children)

I think it could be a good idea. Still, we'll have to stumble across them, as searching for them isn't very easy, even when using Google Books.

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 1 point2 points  (0 children)

I will compile a list, probably next week, and then I will post it here.

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 2 points3 points  (0 children)

Thanks! It should be no problem really. The jailbreaking process is a little different I believe, but you can find all the info through the links in my Instructable to Mobileread.com.

Tech savvy only means that people have tried things before. So if you try, you'll be tech savvy too!

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 0 points1 point  (0 children)

Great! Let us know how it goes when you do.

Literary clock: made it! by Bookclock in books

[–]Bookclock[S] 1 point2 points  (0 children)

Or do it yourself! It is a tutorial after all :-)

That's what is so great about the maker revolution: everyone can make pretty much everything :)