How can i animate the D so instead of having the D stretched i see how it stretches? (this is the code i have)

PFont myFont;
void setup() {
size(1200, 1200);
// Uncomment the following two lines to see the available fonts
//String[] fontList = PFont.list();
myFont = createFont(".SFNS-Bold", 125);

void draw(){
float text = 5;
int s = second();
scale(12, 1);
scale(500 + 200 * sin(s * text *4),text,50 + 40 * sin(s));
textSize (124 );


Hi @tommyba,

Welcome to the forum! :wink:

When you post on the forum, it’s better to put the content of your question inside the post itself rather than in the title.

Also please format your code by using the </> button when editing a message. This helps understanding and answering your question.

If you want to animate things in Processing, I recommend this tutorial :

1 Like