Example of subdividing the map into random regions (Poisson + BFS)

This page summarizes the projects mentioned and recommended in the original post on /r/roguelikedev

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • fast-2d-poisson-disk-sampling

    Fast 2D Poisson Disk Sampling based on a modified Bridson algorithm

  • 1) Make a map (duh!), in our case it is Cellular Automata map 2) Generate some random points that will be our region centers. Those point should be evenly distributed across the map, and I used this Poisson algorithm to generate them https://github.com/kchapelier/fast-2d-poisson-disk-sampling. Amit also suggested that a jittered grid (https://www.redblobgames.com/x/1830-jittered-grid/) can be used. 3) Use BFS from each point to make Voronoi-like thing, much better explained and showed here https://www.redblobgames.com/pathfinding/distance-to-any/#region-growth

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to Create Simple Sketching Art with p5.js: A Step-by-Step Tutorial

    1 project | dev.to | 1 May 2024
  • Zoom-Clone using NextJS-14, Clerk, TailwindCSS, StreamSDK

    1 project | dev.to | 1 May 2024
  • How to Add Firebase Authentication To Your NodeJS App

    7 projects | dev.to | 1 May 2024
  • I've build a stupidly simple invoicing for freelancers and contractors

    1 project | news.ycombinator.com | 1 May 2024
  • BigBlueButton: Complete open source web conferencing system

    1 project | news.ycombinator.com | 1 May 2024