I imagine the line filling idea (although interesting) wouldnt be as fast as other options.Could you just find the rotationg/scale of the square and then transform/scale/rotate a AffineTransform and the create a filter from the AffineTransform and apply the filter to a bufferedimage to be drawn?

Ive ran through methods currently the line drawing one is the most efficient . drawing 32 * 6 * 4000 is more efficient that 32*32*6*4000 There is only one 32 because only rendering from left to right and doing 32 calculations otherwise you would need to do 32 * more.

Ive ran through methods currently the line drawing one is the most efficient . drawing 32 * 6 * 4000 is more efficient that 32*32*6*4000 There is only one 32 because only rendering from left to right and doing 32 calculations otherwise you would need to do 32 * more.

So drawing with the line method is 768000 calculations for 4000 blocks being rendered. or 24576000 for rendering each pixel then manipulating it.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org