Crates.io | petnat |
lib.rs | petnat |
version | 0.0.2 |
source | src |
created_at | 2023-12-30 23:02:35.747142 |
updated_at | 2024-01-03 22:28:15.383234 |
description | A Petri net plugin for Bevy Engine. |
homepage | |
repository | https://github.com/nxsaken/petnat/ |
max_upload_size | |
id | 1084457 |
size | 121,892 |
A Petri net plugin for Bevy Engine. 🍾
petnat
equips you with Petri nets to use in your Bevy projects.
It's a powerful way to model states, processes, resources, and more.
This is a very experimental project, and I mostly started it because I wanted to play with Petri nets and improve my Rust. I am not sure about the possible usefulness of this plugin, but I hope to discover how I can improve it with time and usage.
PetriNet<NetId>
resource.Token<NetId>
component to an entity.Token
according to the model.Token
.Check out this example demonstrating a simple Petri net in action, as well as the tests here for more Petri net instances.