ogxd / kmeans-clustering-unity

2D and 3D clustering in Unity using k-means
Other
46 stars 9 forks source link
csharp kmeans unity unity3d

K-Means Clustering in Unity

Methods and samples to create clusters using k-means algorithm in Unity.
Works for any dimension and any structure.
Includes samples for Unity's Vector2, Vector3 and Bounds.

2D (Vector2)

Vector2

3D (Vector3)

Vector3

3D (Bounds)

Bounds