Function text() not working with P3D
in
Programming Questions
•
1 month ago
I'm having a little trouble with the text() function in P3D. I don't know what am I doing wrong. This code displays the text:
- void setup() {
- size(200, 200);
- stroke(0);
- textSize(16);
- }
- void draw() {
- background(255);
- fill(0);
- text("hey!", 50, 50);
- }
- void setup() {
- size(200, 200, P3D);
- stroke(0);
- textSize(16);
- }
- void draw() {
- background(255);
- fill(0);
- text("hey!", 50, 50);
- }
The code from here won't work for me neither:
http://processing.org/reference/text_.html
I'm using Processing 2.0.2.
I'm using Processing 2.0.2.
I'm sorry if it's something very obvious, but I don't know why it doesn't work!
Thank you.
1