Processing: Why does setup () work several times?

I am working on a visualization application with processing.

Everything seems to be going well, but I noticed that in the console I can see any expressions println()from the method setup()in triplicate. This is not like similar statements inside a loop draw().

I thought this might just be a weekend, but now I see several attempts to open files. This will probably also affect performance.

Any idea how I can prevent this?

I am using Processing 1.0.9 on Mac OS 10.6.3.

Thanks in advance, Ross

+3
source share
1 answer

size() / hint() setup() . , (, ).

+6

Source: https://habr.com/ru/post/1740660/


All Articles