We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Another project for the battleship New Jersey museum ship is to have a monitor in the Radio Room displaying 'messages' and text which will keep scrolling up as each new line is displayed. We can put an LCD monitor where the old CRT is and it looks just right. Would like to be able to have a large text file in the DATA folder (stuff from old radio messages, etc) that would print continuously, and just loop around and start over at the end of the file.
What I'd like to do is have the letters of the text appear on the screen like being type by a teletype - or as though they were being typed by hand... and at the end of each line all the text moves up one line and the next line begins in the lower left corner.
Just getting started with Processing and can't seem to create the effect of a vertical scroll on a block of text... also need to get the letters to type across the screen... This doesn't seem like it should be too hard - just don't know all the in's and out's of processing yet!
Answers
Use as you see fit - credit me if you like!
DUDE! A most awesome and helpful reply! Thanks so much - will def include all credits in the code. Is this a Class you wrote? It will also be a great reference - I've done some Classes in The Arduino - this will be great to compare and study.
Rather than have the class loadStrings() itself, a much better option is pass an already loaded resource to its constructor. :-\"
Also we can have an overloaded Scroll's constructor in order to have 1 that receives the loaded resource and another which simply uses its String[] tex field's default content: O:-)
Thanks for that update...
Just a little update - have created a sketch with this code (including the overload) and it works flawlessly! Just what we needed. Huge thanks again!