Help please! To write a program on the Processing screen of 1000/1000 sizes. Spell your three names in three lines of your choice. Each name should begin with a capital letter. Choose the right font and the right color for the text
This is what I do:
size(1000,1000);
background (#D8EFFC);
String lines="Tisi\nIni\nBiks";
fill(#E90B83);
textSize(58);
textLeading(10);
text(lines,10,70);
String c="T";
text(c,100,150);
String s="Tisi";
text(s,100,305);
textLeading(20);
text(lines,40,70);
String v="I";
text(v,200,250);
String b="Ini";
text(b,100,305);
textLeading(30);
text(lines,70,70);
String f="B";
text(f,300,350);
String a="Biks";
text(a,100,305);
1 Like
glv
April 9, 2020, 10:50am
2
Hello,
The subject should be a brief description and you can elaborate with details in the post.
Please format your code:
https://discourse.processing.org/faq#format-your-code
You can go back and edit this.
:)
1 Like
Hello
and welcome to the forum!
Great to have you here!
do you have a question regarding your code or the assignment?
Look at PFont and createFont please
Each name should begin with a capital letter.
I think this only means not to write thomas but Thomas
no need to treat the first letter separately.
It doesn’t make sense to have this String lines=“Tisi\nIni\nBiks”; because later you write the names separately anyway
Warm regards,
Chrisir
1 Like