We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi All,
I've experienced slow-downs while executing a sketch which draws figures using line()
. Things I've done to improve speed are:
P2D
,noSmooth()
,fill()
(stroke-only figures).I've found this table which shows a hierarchy of different operations' time consumption:
Can it be trusted?
On the same subject:
pushMatrix()
& popMatrix()
)slow things down if used every loop?shape()
method to draw figures instead of invoking line()
for every side of my shapes?