r/webdev • u/BlaiseLabs • Oct 31 '26
Showoff Saturday Procedural Almanac - A JavaScript library of procedural generation techniques with citations for every function
For week 2 of r/hacktoberfest I cataloged all the procedural generation techniques I could find online and put them into a library using vanilla JavaScript. Every technique in the library includes a citation and it has no dependencies. Works in the browser or Node.
The island in the GIF was generated using just the library.
GH repo: procedural-almanac
Demo: Random Island Generator
All stars on Github are appreciated!
266
Upvotes
View all comments
4
u/kugelblitz010 Oct 31 '26
This is amazing and could see this having really cool applications! Is it limited to a generated world map or could this be applied to an indie platformer? Also are you doing anything to make sure that pixels stay a consistent size?
Again this is really really cool and thanks for sharing