bevy_voronoi 0.4.1

A low-level Bevy library to generate Voronoi diagrams from 2d meshes
docs.rs failed to build bevy_voronoi-0.4.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: bevy_voronoi-0.1.2

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 and occlusion.
  • Uses the Jump Flood Algorithm (JFA) for efficient computation.
  • Attaches a VoronoiTexture component to the view entity in the render world with the fragment coordinates for the diagram and the original alpha mask.

Usage

See the examples folder for usage details.

Compatibility

bevy bevy_voronoi
0.16 0.3..0.4
0.15 0.1..0.2