Null pointer error in thread

That was sorta PGraphics double-buffer threading example.

Its main idea is to display 1 PGraphics on the “Animation” Thread, while the “render” Thread is busy rendering the other PGraphics.

Maybe, not sure. But w/ a separate invisible PApplet you can use the FX2D engine, while on a separate PGraphics it can’t be FX2D.