View Single Post
Old 09-03-2015, 09:49 PM   #22
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Do it on the K2 -
Use Lua(.org) rather than Python -
Use a binding to the Cairo library -
This one looks good enough: http://www.dynaset.org/dogusanh/

Either write a screensaver image or write it to the display buffer (Cairo can do either).
We don't need graphics (which Cairo can also do) - just need to position and render alpha-numeric strings in a specified font (which Cairo can do).

And, Cairo may already be on the K2.

= = = =

If your familar with Java, perhaps this will help understand Cairo:
http://cairographics.org/cairo-java/
We may or may not want the Pango library also.

Last edited by knc1; 09-03-2015 at 09:54 PM.
knc1 is offline   Reply With Quote