Bytes in the Margin
  • Posts Archive
  • Categories
  • Tags
  • About

Procedural Map generation post

This post explains an approach to generating fantasy maps that is really interesting. One part of generating a non-grid based map, is to use create Voronoi polygons around some random number of x,y points on the map. There\'s a lot of heavy math involved, but there are libraries for calculating them with Python and even PHP.

Categories: Programming

Tags: notes

  • Next: Get the First Page of a PDF as an Image
  • Previous: 20 Years of PHP
Bytes in the Margin
To Get You Started
Links
  • sculpin.io
  • @getsculpin
© 2026 Bytes in the Margin