I am new to processing and trying to create a floating text following wind data for my art project.
I want to make sure this string is always in the screen like bouncing ball, however maybe cuz I use the real-time data, I can’t really use if statement to change the speed to make it turn around.
But if I confine the wind in the screen, probably its data must be revised then.
Aha thanks for your advice Chrisir, this method is so effective yet easy to apply.
I use the data from openweathermap, I think it changes every ten minutes.
I use tw+1 cuz I have an extra design for this string, I want to make it reconfigurable in another interface, then input it to processing as data, the text would change and the length of it may be different. Yet this is still a conception, I’m not sure, maybe I should create several strings to achieve this.