3 ms·
> Is the origin meaningful? I assume yes, as it makes placement of things much easier if they're all relative to a known origin. The limits of the canvas would
by gitgud 3y ago
> Is the origin meaningful?
I assume yes, as it makes placement of things much easier if they're all relative to a known origin. The limits of the canvas would be "realistically infinite" in all directions though I assume...
- 8n4vidtmkvmk 3y agoI don't know if "realistically infinite" does or doesn't work here. A lot of video games with huge worlds start to break down with big coordinates due to loss of precision in the floats I presume. If using integers, I'd cap it at 2^53 to align with js's max safe integer which I think is just a double.