We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Okay, so I finally figured out how to display my loop items as text, by running a simple loop, however, I don't know how to make them appear one under the other.
example_list= [1,2,3, 4, 5]
for elements in example_list:
text (elements , 50, 50)
I should note, that I tried to create a variable for y, that took in the number of items, but that didn't quite work
Answers
https://Forum.Processing.org/two/discussion/15473/readme-how-to-format-code-and-text
""" Render Text List (v1.1) by GoToLoop (2017-Nov-12) https://Forum.Processing.org/two/discussion/24973/ how-to-get-my-loop-items-on-a-different-line#Item_1 """ words = [ 'Finally', 'figured out', 'how to', 'display...' ] def setup(): size(300, 260) noLoop() fill(0xffFFFF00) textAlign(CENTER, CENTER) textSize(40) def draw(): clear() text(join(words, ENTER), width>>1, height>>1)https://Forum.Processing.org/two/discussion/15473/readme-how-to-format-code-and-text
https://Processing.org/reference/join_.html