This project is a template for rendering 2D graphics.
The main feature is fast pixel-by-pixel rendering, which is great for creating simulations.
All you need to know to use this template productively is how graphics are rendered.
Essentially, we have a one-dimensional integer array containing the RGB values of each pixel.
Accordingly, by changing the values of this array, we change the color of the pixel on the screen.
Below is a small example (really small).
pixelBuffer[0] = 0x000000; // BLACK
You have questions?
Well, I think in the Main.java
file you can easily figure out what's what thanks to the comments.
See you later!