This simple sketch runs much faster on p5.js (60fps) than Processing/Java (5fps)

Hello,

There are references to renderers here:

A related topic:

:)