![]() Nevertheless, although you may have used a String here and there, it's time to unleash their full potential. PImage img = loadImage("filename.jpg") // Using a String for a file name For example, if you've printed some text to the message window or loaded an image from a file, you've written code like so: println("printing some text to the message window!") // Printing a String Strings are probably not a totally new concept for you, it's quite likely you've dealt with them before. If you are looking to display text onscreen with Processing, you've got to first become familiar with the String class. ![]() ![]() If you see any errors or have comments, please let us know. This tutorial is from the book Learning Processing by Daniel Shiffman, published by Morgan Kaufmann, © 2008 Elsevier Inc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |