๐Ÿ“ฆ aevyrie / big_space

When 32-bit worlds just aren't big enough

โ˜… 331 stars โ‘‚ 45 forks ๐Ÿ‘ 331 watching โš–๏ธ Apache License 2.0
bevyfloating-originlarge-worlds
๐Ÿ“ฅ Clone https://github.com/aevyrie/big_space.git
HTTPS git clone https://github.com/aevyrie/big_space.git
SSH git clone git@github.com:aevyrie/big_space.git
CLI gh repo clone aevyrie/big_space
Aevyrie Aevyrie Tweak how feature gated plugins are added (#62) 69e9845 2 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ assets
๐Ÿ“ benches
๐Ÿ“ examples
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ Cargo.toml
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ LICENSE-APACHE
๐Ÿ“„ LICENSE-MIT
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Big Space

partitioning screenshot

Huge worlds, high performance, no dependencies, ecosystem compatibility. Read the docs

crates.io docs.rs test suite

Highlights

  • Enough precision to render proton-sized meshes across the observable universe.
  • Uses Transform, making it compatible with most of the Bevy ecosystem.
  • No added dependencies.
  • Absolute coordinates without drift, unlike camera-relative or periodic recentering solutions.
  • Chunks the world into nestable integer grids, from i8 up to i128.
  • Spatial hashing for fast grid cell lookups and neighbor search.
  • Spatial partitioning to group sets of connected cells.
  • Great performance scaling and parallelism with massive entity counts.
  • ๐Ÿ‘‰ Extensive documentation you should read.
screenshot

Showcase

Proton to Observable Universe scale

https://github.com/user-attachments/assets/430624ee-e3a4-4ba3-b7cf-72f3d7f00b5f

Floating origin demonstration

https://github.com/user-attachments/assets/9ce5283f-7d48-47dc-beef-9a7626858ed4

Bevy Version Support

bevybig_space
0.170.11
0.160.10
0.150.8, 0.9
0.140.7
0.130.5, 0.6
0.120.4
0.110.3
0.100.2
0.90.1

License

This project is dual licensed:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.