bevy_voronoi

Crates.iobevy_voronoi
lib.rsbevy_voronoi
version0.5.0
created_at2025-02-05 08:19:25.555885+00
updated_at2025-10-04 11:00:29.130849+00
descriptionA low-level Bevy library to generate Voronoi diagrams from 2d meshes
homepage
repositoryhttps://github.com/malbernaz/bevy_voronoi
max_upload_size
id1543668
size205,285
Miguel Albernaz (malbernaz)

documentation

README

demo

bevy_voronoi

A low-level Bevy plugin for generating Voronoi diagrams from 2D meshes and textures.

Features

  • Generates Voronoi diagrams from any Mesh2d.
  • Supports alpha masks for transparency based on a texture.
  • Uses the Jump Flood Algorithm (JFA) for efficient computation.
  • Adds a VoronoiTextures resource to the render world with a voronoi diagram for each view with a VoronoiView.

Usage

See the examples folder for usage details.

Compatibility

bevy bevy_voronoi
0.17 0.5
0.16 0.3..0.4
0.15 0.1..0.2
Commit count: 40

cargo fmt