PFont font; final String scrolltext = " ----- Tob's 5^2th birthday party ----- June 2nd, 20:00h ----- Behind the Europahochhaus ----- (B there) | B^2 ----- Thanks to Medha for the Avalon font code ----- Bring your own Tortenheber *rŠusper* ----- Processing rocks! ----- Music: Acidjazzed Evening by Tempest ----- "; final int singlyphwidth = 15; final int sinscrollspeed = 3; int textlen; int textwidth; int sinscrollpos = 0; int sinscrollpos2 = 0; void setupSineScroller() { //font = loadFont("Ayuthaya-18.vlw"); font = loadFont("OCRAStd-18.vlw"); textFont(font, 18); textlen = scrolltext.length(); textwidth = singlyphwidth * scrolltext.length(); } void draw_sine_scroller() { fill(#AAAAAA); int firstchar = sinscrollpos / singlyphwidth; int curchar; int xpos, ypos; for(int i = 0; i textwidth) sinscrollpos -= textwidth; sinscrollpos2+=sinscrollspeed*3; }