Skip to content

Instantly share code, notes, and snippets.

View houssemwld1's full-sized avatar
๐Ÿš€

houssem hammami houssemwld1

๐Ÿš€
  • national school of computer science
  • Borj El Amri manouba tunis
View GitHub Profile
@isedgar
isedgar / voronoi-long.md
Last active April 10, 2025 01:32
Naive pseudocode to create Voronoi cells (long version).

Voronoi diagram in the Cartesian plane

INPUT:

sites := {(x0, y0), (x1, y1), ..., (xn-1, yn-1)}

pad := padding (some number)


ALGORITHM:

n := number of sites