finished getting the code to work. adjusted for the fact that having another def... in my code causes problems.
solution here:
solution here:
character = 0 cur_str = [] my_string = "this is a test." def setup(): size(400, 400) def draw(): global character global cur_str global my_string frameRate(15)#again, added for exaggerated effect if character < len(my_string): cur_str.append(my_string[character]) text(''.join(map(str, cur_str)), 10, 30) character = character + 1for those wishing to keep the text on screen after the sentence has typed, add:
else: textSize(32) text(''.join(map(str, cur_str)), 10, 30)to the end of the code