Learn creative coding writing simple programs

25. Typing big letters that fade out

It's time to write some text on the screen using the text() function. The first parameter is the text you want to display, and the second and third parameters are the x and y position. With textSize() you can control how large the text is. If you call fill() before calling text() you can set the text color.
After some basic text() calls we create a program that writes anything you type on the screen. Each letter is written on a random position and with a random size. The letters then quickly fade out and disappear.

Tags:

Code editor

You can make changes to the code below. Then
Below you can ask and answer questions related to this video. If your question is unrelated to the video, please post it at the Processing Forum as I'm unable to help with all of your programs and still have enough free time to eat and sleep :)
comments powered by Disqus