jit.lcd + javascript = possible yet? ever?
> Sorry but jit.lcd does not work from Javascript at this time.
This was true in November 2005 - is it still true?
If so, is this ever going to change?
And if not, is there an example anywhere of how one might use it?
(I'm trying to make use of jit.lcd's text functions, so jit.gl.sketch is not an alternative.)
(Actually, what I'm looking for is some way to get feedback on the pixel dimensions (width) of a given string of text - I can get it from jit.lcd by using getpenloc after a write command. I can't figure out any way to get this information from jit.gl.text2d or jit.gl.text3d - maybe I'm missing something?)
As requested, an example of easily getting feedback on text length in jit.lcd. I am unaware of any way of doing this kind of thing in jit.gl land, but would love to be enlightened.
Also, while we're on the topic of jit.lcd: according to its help file, it supports (and only supports) 4 char data - so then is there any way to address the 4th (alpha) channel?
Excellent example & very informative - thanks for putting it together. Much appreciated.
pH
weird! I don't see vanille b.'s example! Did you edited and deleted it, vanille?
Any other clues on this? I'm not getting any joy out of jit.findbounds... (will keep fiddling obviously)
Nice one pseudostereo, interesting!
Looks like what i had should have worked (not using JS) but doesn't for some reason - so many thanks!
jb
just to be clear, vanille béchamel made the patch, not me - I just posed the question!