|
Author |
Topic: text() and translate() (Read 296 times) |
|
madmerv Guest
|
text() and translate()
« on: Nov 27th, 2003, 7:05pm » |
|
At certain x,y,z coordinates using translate, I've noticed that if you place text, the text has the odd feature of stretching to infinite lengths; why is this? And what are the constraints of translate and text (to filter the data)? Ie: translate(x,y,z); text(char(((x+y+z)%(125-33))+33), x, y); // usable range of ascii characters 33-125 Why are they all scaled and skewed and out of whack?
|
|
|
|
fry
|
Re: text() and translate()
« Reply #1 on: Dec 3rd, 2003, 10:39pm » |
|
without looking at the actual code, i'm guessing that your z value is setting your text so that it's flying into the camera, and it's not getting properly clipped (the latter because of a incomplete part of the graphics engine). see the note on coordinates: http://proce55ing.net/reference/environment/index.html#Coordinates
|
|
|
|
|