Skip to content
项目

关于

Real-time procedural generation of maps, textures, terrain, planets and more!

设计与媒体

这些数字如何统计

可以做什么

  • Allows procedural generation of assets which can be directly integrated in your bevy game
  • Handles real-time updating of image and mesh data as configuration for the asset changes
  • Builds on native as well as wasm targets
  • Allows saving generated assets (uses rfd for native, javascript blob for wasm)

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

bevy_generative

CodeSize License GitHub Actions Workflow Status Bevy tracking crates.io docs.rs

bevy_generative is a plugin written for the bevy engine that allows real-time procedural generation of maps, textures, terrain, planets and more!

Features

  • Allows procedural generation of assets which can be directly integrated in your bevy game
  • Handles real-time updating of image and mesh data as configuration for the asset changes
  • Builds on native as well as wasm targets
  • Allows saving generated assets (uses rfd for native, javascript blob for wasm)
  • Serializes and deserializes components using serde

Showcase

Check out Procedra [Source], a procedural generation web application that allows you to experiment with all the parameters and generate assets in real-time!

Installation

Add bevy_generative to your rust project

cargo add bevy_generative

Examples

Examples are provided in the examples directory. To run an example, clone this repository and invoke cargo like this:

cargo run --example map

Bevy Compatibility

bevy bevy_generative
0.16 0.4, main
0.14 0.3
0.13 0.2
0.12 0.1

Contributing

Contributions are welcome! Issues, pull requests, feature requests and bug reports are appreciated. If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name.
  3. Make your changes or additions.
  4. Test your changes.
  5. Submit a pull request with a clear description of your work.

Please ensure your code passes all CI checks and includes relevant tests if applicable. Thank you for helping improve bevy_generative!

Your contribution will be dual-licensed as mentioned in the License section below.

License

All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

探索相关项目

加载中…