What is the fastest way to draw pixels in Java

前端 未结 5 2037
无人共我
无人共我 2020-12-28 23:52

I have some code that generates particles at random locations, and moving in random directions and speed.

Each iteration through a loop, I move all the particles, an

5条回答
  •  -上瘾入骨i
    2020-12-29 00:09

    Try using java.awt.image.VolatileImage. It can potentially be used with full hardware acceleration without any CPU rendering.

提交回复
热议问题