How big is the simulation space inside processing?

I'm running a large simulation akin to Agar.io and am wondering how big I can make the space inside of the simulation without the orbs having issues with placement.

Also wanted to ask if there's any way to set the simulation size, because occasionally orbs run into an invisible wall of sorts and cannot move beyond a certain line of coordinates.

Tagged:

Answers

  • There is no real limit to the simulation space since you only draw those orbs that would be partially or fully visible on the screen.

  • Hypothetically the only limitation I can think of is the range of values supported by float... But in practice I don't see how that would be a limiting factor: you just set a scale that stays within the range.

Sign In or Register to comment.