Anyone know of a modern lightweight object for displaying text vertically?
I’d like to be able to label the columns of a matrixctrl. The objects I found so far are either really old (compressed with ‘sit’) or require jsui or other external support.
I’m wondering if anyone has built the equivalent of the [comment] object that rotates the text 90 degrees so it can be displayed like a book title?
I’ve implemented this functionality in a few UI objects I’ve written, been meaning to make a version which is text-only. Watch this space…
----------begin_max5_patcher---------- 270.3ocSPFrZCCCCF9rySQvm6JIqzPX21g8FLFClGCGO2VERjC1JkvJ8ce1J Ia4hv5S+5WV5VlP13lrAY9S4ejKD2xDBFk.hkbgrWOY5zAVlz356sHI2MWir SDyeSgVE5UHoPPgFEpUXmBU3qJ7EE9d7wZSc.ZMtQj6r7vBE9lMx0z9P0pxS NjPcukq7rGzc+UwetIQK1Wr4qzNFH3DXzD3P18khCZxbAvye4sFZdeqqhsle nLEKq43wG2Wj+4lYeRarasIwBvOyr+GMN1CXmkBa0FgtQZkVjf2yxRAdDR8v vUqOr7Q4ic7T257ozpcbJfyormRu8Jrp+HSz93VQwUZzOeilpqjYo4bO6Wvy 5aGs -----------end_max5_patcher-----------
Or getting the same result – the lazy typists way…
----------begin_max5_patcher---------- 648.3oc0W1rbaBCDG+L7TvvYZFP.9idqO.8IHzIiLHaKGPhQHRcal7tWoUFa rM1lXRnsWfQqjW8e+sqVge01xcAeKox04qNO5XY8pskEXRavZ2XK2B71zbbE rLWF4m7Eab8LSIIakfY4ZAoZciYZFXTsvuDG1XbImIY3BBL02DTbdyLkXY5Z Ja0SBRpzHlfvfG78bBlgzuBmYF7fuyOZ4sJ5uAuE3ql1XlUWPY4DIHVzNi7Z oxj7WkDiycc26F05MyB+f.sw2rs0O7FFPvkkDVlJN5hInAwj3o5Ww2GSB9Kx DpjH5.GQSFDNB0QpCJ5+NbHTtk3.COGJgCpFYRLThf9fO13cYtf9HKS33NHB Z1PHBJ.PRzj6BIgWBITlbLZlH4ztHxzAcvwO3yfH4zpw.IkBBzfshz0oGzfZ ofhBgCQg+61RIkWTPXxyvx2SD3DwpDAKQPSDxDQchHKQPR124MmxHo7ZF7Cl 2A6h2SH0c5pMAKobVaJgLTZNbhxe2iiXT2DeoX0Bs0CfSq6M0UR5RZJrMsA3 URPyMolol53omr6Kwoj1N58j0NN03eGoFcLQxncjavqXTYcFoiB1dbRNMml9 bAO63P6LjdMpYtuDXGBc6x5RrPoD0k1OQX3E4vzuyRdOSKRuqe4QTKLCKAJR O46Rg.Sa+X1WwqEoM6WyMmNGhsLhp7hsu35wCsNasn0zrLBqc7kQqzgb1kqB 5qdzedyM0SLZzzi9KxuMelMd5oO4qSD8modNIzu.elLd5YZOzSz3om9Hmvwq bF0miW56ztK8X5Fo9ybuPDU67IHEUO+Mbgd3DOXHkYFB8BcEjWnMqOFrfEp1 xRUO4Zgo491YSbs06ya1+AfKOLof -----------end_max5_patcher-----------
I didn’t realize (although I probably should have) that I could insert line terminators between each character. It took me a few moments to figure out CMD-RETURN was the way to do this.
As it happens, the "lazy typists" way suits me better because the actual text to be displayed will depend on what plugin/patch has been loaded in the column.
These will be terrific in the short term, however I really want to have the individual characters rotated by 90 degrees so that the comment can be read like a book title written on the spine.
Cute use of [thresh], by the way.
define "light weigth".
if you have jitter, you can use jit.lcd, jit.rota, and jit-pwindow (with onscreen off) to easily display text (read: fonts) in any position and combination you want.
Light weight —- small object (RAM usage, processing usage). I’ll end up with hundreds of these things and so I’d like them to load really fast and not have "extra" stuff. I don’t know very much about the jitter stuff but it seems to me that loading lots of jit.lcd objects is a much more expensive proposition.
Basically, I just want [comment] with 90 degree text. I’ll build an external myself to do this if I have to, it’s not too hard, just didn’t want to do that if someone had already done it.
in the moment lcd or something jitter is created it sucks CPU like stupid, but the displaying of it should not cause more trouble than e.g. displaying an image file.
but i must confess that i probably have a very creative definition of "leightweight" when i suggest you to write a little video app to replace the comment object. :)
otoh, it seems still as easy as writing a custom object in c++.
plus you get more flexibility. using jit.lcd will allow you to use copymodes or blur effect or skip the text a bit so that it is 80° … things like that re two minutes work on the patch layer, but almost impossible using c++.
That’s an excellent idea — I got hold of a couple of font manager tools to play with, rotating an existing font by 90 degrees seems to do the trick
Forums > MaxMSP