百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sprinkles

> 编程语言
开源

Bevy 的 GPU 粒子系统和编辑器

170 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Bevy 的 GPU 粒子系统和编辑器

Sprinkles

Sprinkles is a GPU-accelerated particle system for the Bevy game engine with a built-in dedicated visual editor.

⛹️ Check out all the examples here!

Usage

Add bevy_sprinkles to your project:

toml
[dependencies]
bevy_sprinkles = "0.2"

Add the plugin to your Bevy app:

rust
use bevy::prelude::*;
use bevy_sprinkles::prelude::*;

fn main() {
    App::new()
        .add_plugins((DefaultPlugins, SprinklesPlugin))
        .run();
}

Spawn a particle system from a RON asset file:

rust
fn setup(mut commands: Commands, asset_server: Res) {
    commands.spawn(Particles3d {
        handle: asset_server.load("my_effect.ron"),
    });
}

Editor

Sprinkles comes with a visual editor for designing particle systems. To run it from the repository:

bash
cargo editor

Or install the editor globally:

bash
cargo install bevy_sprinkles_editor

Then run it from anywhere with the sprinkles command.

Documentation

Documentation is available at docs.rs.

Bevy version table

Bevy Sprinkles
0.19 main
0.18 0.1 - 0.2

Features

  • GPU particle simulation & sorting
  • Fully fledged built-in visual editor
  • 3D support (2D is planned)
  • PBR material support (custom shaders is planned)
  • Automatic GPU instancing across emitters & systems
  • Particle collision
  • Curl noise turbulence
  • Billboard & velocity-aligned transform modes
  • Sub-emitters

Acknowledgements

Godot's particle system is a huge source of inspiration for Sprinkles, and we aim to reach feature parity at some point. Thank you for all it's contributors.

Brackeys' video on making VFX with Godot was what inspired me to work on a similar system for Bevy and adapt some of those VFXs to it.

All bundled textures are provided by the very talented and generous Kenney.

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Project examples and bundled textures are licensed under CC0.

The editor includes two icon sets:

  • Remix Icon, licensed under Remix Icon License v1.0.
  • Blender icons, licensed under CC BY-SA 4.0 by Andrzej Ambroż. [source]

The donut icon is an edited version of the Noto Emoji, licensed under Apache 2.0.

Issues· 7 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言