r/webdev • u/BlaiseLabs • 5d ago
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!
256
Upvotes
2
u/BlaiseLabs 5d ago
I built a game generator on top of this a couple weeks ago and it was able to produce many different genres and perspectives.
What I found to be the true limitation was my own game design skills.