fast-2d-poisson-disk-sampling

Fast 2D Poisson Disk Sampling based on a modified Bridson algorithm (by kchapelier)

Fast-2d-poisson-disk-sampling Alternatives

Similar projects and alternatives to fast-2d-poisson-disk-sampling based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fast-2d-poisson-disk-sampling alternative or higher similarity.

fast-2d-poisson-disk-sampling reviews and mentions

Posts with mentions or reviews of fast-2d-poisson-disk-sampling. We have used some of these posts to build our list of alternatives and similar projects.
  • Example of subdividing the map into random regions (Poisson + BFS)
    1 project | /r/roguelikedev | 22 Jun 2022
    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

Stats

Basic fast-2d-poisson-disk-sampling repo stats
1
28
0.0
almost 2 years ago

kchapelier/fast-2d-poisson-disk-sampling is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of fast-2d-poisson-disk-sampling is JavaScript.

The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com