Fast-2d-poisson-disk-sampling Alternatives
Similar projects and alternatives to fast-2d-poisson-disk-sampling based on common topics and language
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
Labyrinthos.js
A JavaScript procedural generator for Mazes, Terrains, and Biomes. Designed for game developers and professional hobbyists, Labyrinthos.js offers a very simple-to-use API for crafting complex, customizable landscapes
-
-
-
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 discussion
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) 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
33
0.0
over 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.